update configs
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
"query:Starred:flags # \"a\""
|
"query:Starred:flags # \"a\""
|
||||||
|
|
||||||
|
https://bookmarks.krrishg.com/feeds/bffdcc5e4287869a5d124e39a8e1713bf5c4a233/all "My Bookmarks"
|
||||||
|
https://sarvalekh.com/rss.xml "blog" "Sarva Lekh"
|
||||||
|
http://localhost:3000/rss.xml
|
||||||
https://lukesmith.xyz/rss.xml "blog"
|
https://lukesmith.xyz/rss.xml "blog"
|
||||||
https://videos.lukesmith.xyz/feeds/videos.xml?accountId=3 "peertube" "~Luke Smith (Peertube)
|
https://videos.lukesmith.xyz/feeds/videos.xml?accountId=3 "peertube" "~Luke Smith (Peertube)
|
||||||
https://lukesmith.xyz/youtube.xml "youtube" "~Luke Smith (Youtube)"
|
https://lukesmith.xyz/youtube.xml "youtube" "~Luke Smith (Youtube)"
|
||||||
@@ -25,6 +28,7 @@ https://medium.com/feed/@kentbeck_7670 "medium"
|
|||||||
https://blog.gautamsuraj.com.np/rss.xml "blog"
|
https://blog.gautamsuraj.com.np/rss.xml "blog"
|
||||||
https://vimtricks.substack.com/feed "blog" "vim"
|
https://vimtricks.substack.com/feed "blog" "vim"
|
||||||
https://blog.ploeh.dk/atom.xml
|
https://blog.ploeh.dk/atom.xml
|
||||||
|
https://rohanrd.xyz/index.xml
|
||||||
|
|
||||||
https://lemmy.ml/feeds/c/programming.xml
|
https://lemmy.ml/feeds/c/programming.xml
|
||||||
https://lemmy.ml/feeds/c/privacy.xml
|
https://lemmy.ml/feeds/c/privacy.xml
|
||||||
@@ -47,3 +51,5 @@ https://nitter.net/martinfowler/rss
|
|||||||
https://nitter.net/KentBeck/rss
|
https://nitter.net/KentBeck/rss
|
||||||
|
|
||||||
https://funkmysoul.gr/feed
|
https://funkmysoul.gr/feed
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,14 @@
|
|||||||
call plug#begin('~/.vim/plugged')
|
call plug#begin('~/.vim/plugged')
|
||||||
|
|
||||||
Plug 'artur-shaik/vim-javacomplete2'
|
"Plug 'artur-shaik/vim-javacomplete2'
|
||||||
"Plug 'apalmer1377/factorus'
|
"Plug 'apalmer1377/factorus'
|
||||||
Plug 'junegunn/fzf.vim'
|
"Plug 'junegunn/fzf.vim'
|
||||||
"Plug 'dense-analysis/ale'
|
"Plug 'dense-analysis/ale'
|
||||||
|
|
||||||
|
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||||
|
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
|
||||||
|
Plug 'junegunn/fzf.vim'
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
" javacomplete2
|
" javacomplete2
|
||||||
@@ -25,6 +29,8 @@ set ts=4 sw=4
|
|||||||
set relativenumber number
|
set relativenumber number
|
||||||
set nohlsearch
|
set nohlsearch
|
||||||
set splitbelow splitright
|
set splitbelow splitright
|
||||||
|
set visualbell
|
||||||
|
set noerrorbells
|
||||||
|
|
||||||
nnoremap <C-h> <C-w>h
|
nnoremap <C-h> <C-w>h
|
||||||
nnoremap <C-j> <C-w>j
|
nnoremap <C-j> <C-w>j
|
||||||
|
|||||||
+50
-41
@@ -1,49 +1,58 @@
|
|||||||
Config { font = "xft:Jetbrains Mono:size=9:bold:antialias=true"
|
-- Dependencies:
|
||||||
, additionalFonts = [
|
-- otf-font-awesome
|
||||||
"xft:Mononoki Nerd Font:size=9:antialias=true:hinting=true"
|
-- ttf-mononoki
|
||||||
, "xft:FontAwesome:pixelsize=11"
|
-- ttf-ubuntu-font-family
|
||||||
|
-- htop
|
||||||
|
-- emacs
|
||||||
|
-- pacman (Arch Linux)
|
||||||
|
-- trayer
|
||||||
|
-- 'dtos-local-bin' (from dtos-core-repo)
|
||||||
|
|
||||||
|
Config { font = "Ubuntu Bold 9"
|
||||||
|
, additionalFonts = [ "Mononoki 11"
|
||||||
|
, "Font Awesome 6 Free Solid 12"
|
||||||
|
, "Font Awesome 6 Brands 12"
|
||||||
]
|
]
|
||||||
, borderColor = "black"
|
, bgColor = "#1a1b26"
|
||||||
, border = TopB
|
, fgColor = "#a9b1d6"
|
||||||
, bgColor = "black"
|
, position = TopSize L 100 24
|
||||||
, fgColor = "grey"
|
|
||||||
, alpha = 125
|
|
||||||
, position = Top
|
|
||||||
, textOffset = -1
|
|
||||||
, iconOffset = -1
|
|
||||||
, lowerOnStart = True
|
, lowerOnStart = True
|
||||||
, pickBroadest = False
|
|
||||||
, persistent = False
|
|
||||||
, hideOnStart = False
|
, hideOnStart = False
|
||||||
, iconRoot = "."
|
|
||||||
, allDesktops = True
|
, allDesktops = True
|
||||||
, overrideRedirect = True
|
, persistent = True
|
||||||
, commands = [ Run Cpu [] 10
|
, iconRoot = ".xmonad/xpm/" -- default: "."
|
||||||
, Run Date "<fn=1>\xe721</fn>" "cpuicon" 36000
|
, commands = [
|
||||||
, Run Date "<fn=1>\xf85a</fn>" "memoryicon" 36000
|
-- Echos a "penguin" icon in front of the kernel output.
|
||||||
, Run Memory ["-t","Mem: <usedratio>%"] 10
|
Run Com "echo" ["<fn=3>\xf17c</fn>"] "penguin" 3600
|
||||||
, Run Date "<fn=1>\xf9e1</fn>" "swapicon" 36000
|
-- Get kernel version (script found in .local/bin)
|
||||||
, Run Swap [] 10
|
, Run Com ".local/bin/kernel" [] "kernel" 36000
|
||||||
, Run Date "<fn=1>\xf133</fn> %a %b %d" "date" 1000
|
-- Cpu usage in percent
|
||||||
, Run Date "<fn=1>\xe381</fn>" "timeicon" 36000
|
, Run Cpu ["-t", "<fn=2>\xf108</fn> cpu: (<total>%)","-H","50","--high","red"] 20
|
||||||
, Run Date "%H:%M" "time" 10
|
-- Ram used number and percent
|
||||||
, Run StdinReader
|
, Run Memory ["-t", "<fn=2>\xf233</fn> mem: <used>M (<usedratio>%)"] 20
|
||||||
, Run Date "<fn=1>\xfa7d</fn>" "volumeicon" 36000
|
-- Disk space free
|
||||||
, Run Com "volume" [] "volume" 10
|
, Run DiskU [("/", "<fn=2>\xf0c7</fn> hdd: <free> free")] [] 60
|
||||||
, Run Date "<fn=1>\xf240</fn>" "batteryicon" 36000
|
-- Echos an "up arrow" icon in front of the uptime output.
|
||||||
, Run Battery [ "--template"
|
, Run Com "echo" ["<fn=2>\xf0aa</fn>"] "uparrow" 3600
|
||||||
, "<acstatus>"
|
-- Uptime
|
||||||
, "--" -- battery specific options
|
, Run Uptime ["-t", "uptime: <days>d <hours>h"] 360
|
||||||
-- discharging status
|
-- Echos a "bell" icon in front of the pacman updates.
|
||||||
, "-o" , "<left>% (<timeleft>)"
|
, Run Com "echo" ["<fn=2>\xf0f3</fn>"] "bell" 3600
|
||||||
-- AC "on" status
|
-- Check for pacman updates (script found in .local/bin)
|
||||||
, "-O" , "<fc=00ff00>Charging</fc>"
|
, Run Com ".local/bin/pacupdate" [] "pacupdate" 36000
|
||||||
-- charged status
|
-- Echos a "battery" icon in front of the pacman updates.
|
||||||
, "-i" , "100%"
|
, Run Com "echo" ["<fn=2>\xf240</fn>"] "baticon" 3600
|
||||||
] 50
|
-- Battery
|
||||||
|
, Run BatteryP ["BAT0"] ["-t", "<acstatus> (<left>%)"] 50
|
||||||
|
-- Time and date
|
||||||
|
, Run Date "<fn=2>\xf017</fn> %b %d %Y - (%H:%M) " "date" 50
|
||||||
|
-- Script that dynamically adjusts xmobar padding depending on number of trayer icons.
|
||||||
|
, Run Com "/home/krrish/.config/xmobar/trayer-padding-icon.sh" [] "trayerpad" 20
|
||||||
|
-- Prints out the left side items such as workspaces, layout, etc.
|
||||||
|
, Run UnsafeStdinReader
|
||||||
]
|
]
|
||||||
, sepChar = "%"
|
, sepChar = "%"
|
||||||
, alignSep = "}{"
|
, alignSep = "}{"
|
||||||
, template = "%StdinReader% | <fc=#2ecc71>%cpuicon% %cpu%</fc> | <fc=#d4ac0d>%memoryicon% %memory%</fc> | <fc=#2980b9>%swapicon%%swap%</fc> | }\
|
, template = "%UnsafeStdinReader% }{ <box type=Bottom width=2 mb=2 color=#f7768e></box> <box type=Bottom width=2 mb=2 color=#9ece6a><fc=#9ece6a><action=`st -e htop`>%cpu%</action></fc></box> <box type=Bottom width=2 mb=2 color=#e0af68><fc=#e0af68><action=`st -e htop`>%memory%</action></fc></box> <box type=Bottom width=2 mb=2 color=#7aa2f7><fc=#7aa2f7>%disku%</fc></box> <box type=Bottom width=2 mb=2 color=#bb9af7><fc=#bb9af7>%uptime%</fc></box> <box type=Bottom width=2 mb=2 color=#73daca></box> <box type=Bottom width=2 mb=2 color=#f7768e><fc=#f7768e>charging: %battery%</fc></box> <box type=Bottom width=2 mb=2 color=#9ece6a><fc=#9ece6a><action=`emacsclient -c -a 'emacs' --eval '(doom/window-maximize-buffer(dt/year-calendar))'`>%date%</action></fc></box> %trayerpad%"
|
||||||
\{ <fc=#9b59b6>%volumeicon% %volume%</fc> | <fc=#b66c59>%batteryicon% %battery%</fc> | <fc=#a2b659>%date%</fc> | <fc=#a91e62>%timeicon% %time%</fc> "
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+7
-2
@@ -15,6 +15,8 @@ import XMonad.Actions.WindowBringer
|
|||||||
import XMonad.Util.SpawnOnce
|
import XMonad.Util.SpawnOnce
|
||||||
import XMonad.Actions.FindEmptyWorkspace
|
import XMonad.Actions.FindEmptyWorkspace
|
||||||
import XMonad.Actions.GridSelect
|
import XMonad.Actions.GridSelect
|
||||||
|
import XMonad.Prompt.Ssh
|
||||||
|
import XMonad.Prompt.Man
|
||||||
import qualified XMonad.StackSet as W
|
import qualified XMonad.StackSet as W
|
||||||
|
|
||||||
myStartupHook :: X ()
|
myStartupHook :: X ()
|
||||||
@@ -33,7 +35,6 @@ myStartupHook = do
|
|||||||
spawnOnce "alias anki='anki --no-sandbox'"
|
spawnOnce "alias anki='anki --no-sandbox'"
|
||||||
setWMName "LG3D"
|
setWMName "LG3D"
|
||||||
|
|
||||||
|
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
main = do
|
main = do
|
||||||
xmproc <- spawnPipe "xmobar /home/krrish/.config/xmobar/xmobarrc"
|
xmproc <- spawnPipe "xmobar /home/krrish/.config/xmobar/xmobarrc"
|
||||||
@@ -69,7 +70,7 @@ main = do
|
|||||||
, ((mod4Mask .|. shiftMask, xK_u), spawn "st sudo pacman -Syu")
|
, ((mod4Mask .|. shiftMask, xK_u), spawn "st sudo pacman -Syu")
|
||||||
, ((mod4Mask .|. shiftMask, xK_e), spawn "st setxkbmap us")
|
, ((mod4Mask .|. shiftMask, xK_e), spawn "st setxkbmap us")
|
||||||
, ((mod4Mask .|. shiftMask, xK_v), spawn "st sudo protonvpn c -f")
|
, ((mod4Mask .|. shiftMask, xK_v), spawn "st sudo protonvpn c -f")
|
||||||
, ((mod4Mask .|. shiftMask, xK_i), spawn "notify-send 'Intellij Idea' 'Opening Intellij Idea'; /home/krrish/programs/idea/bin/idea.sh")
|
, ((mod4Mask .|. shiftMask, xK_i), spawn "notify-send 'Intellij Idea' 'Opening Intellij Idea'; /home/krrish/idea/bin/idea.sh")
|
||||||
, ((0, xK_Print), spawn "scrot -q 100 /home/krrish/pictures/%Y-%m-%d-%H:%M:%S.png")
|
, ((0, xK_Print), spawn "scrot -q 100 /home/krrish/pictures/%Y-%m-%d-%H:%M:%S.png")
|
||||||
, ((0, 0x1008FF11), spawn "pactl set-sink-volume @DEFAULT_SINK@ -5%")
|
, ((0, 0x1008FF11), spawn "pactl set-sink-volume @DEFAULT_SINK@ -5%")
|
||||||
, ((0, 0x1008FF13), spawn "pactl set-sink-volume @DEFAULT_SINK@ +5%")
|
, ((0, 0x1008FF13), spawn "pactl set-sink-volume @DEFAULT_SINK@ +5%")
|
||||||
@@ -81,7 +82,11 @@ main = do
|
|||||||
, ((mod4Mask, xK_o), spawn "rofi -show run")
|
, ((mod4Mask, xK_o), spawn "rofi -show run")
|
||||||
|
|
||||||
, ((mod4Mask, xK_e), viewEmptyWorkspace)
|
, ((mod4Mask, xK_e), viewEmptyWorkspace)
|
||||||
|
, ((mod4Mask, xK_g), goToSelected def)
|
||||||
, ((mod4Mask .|. shiftMask, xK_e), tagToEmptyWorkspace)
|
, ((mod4Mask .|. shiftMask, xK_e), tagToEmptyWorkspace)
|
||||||
|
, ((mod4Mask .|. shiftMask, xK_s), sshPrompt def)
|
||||||
|
, ((mod4Mask .|. controlMask, xK_m), manPrompt def)
|
||||||
, ((mod4Mask .|. shiftMask, xK_f), spawnSelected def ["keepassxc", "brave", "pcmanfm"])
|
, ((mod4Mask .|. shiftMask, xK_f), spawnSelected def ["keepassxc", "brave", "pcmanfm"])
|
||||||
, ((mod4Mask .|. shiftMask, xK_w), gotoMenu)
|
, ((mod4Mask .|. shiftMask, xK_w), gotoMenu)
|
||||||
|
, ((mod4Mask .|. shiftMask, xK_h), spawn "/home/krrish/Hubstaff/HubstaffClient.bin.x86_64 &")
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user