Browse Source

update configs

master
Krrish Ghimire 3 years ago
parent
commit
63e0e2aab9
  1. 1
      newsboat/urls
  2. 22
      xmonad/xmonad.hs

1
newsboat/urls

@ -1,6 +1,5 @@
"query:Starred:flags # \"a\"" "query:Starred:flags # \"a\""
https://www.linuxjournal.com/node/feed
http://chesslevel0.blogspot.com/feeds/posts/default "chess" http://chesslevel0.blogspot.com/feeds/posts/default "chess"
http://chessplayeratlarge.blogspot.com/feeds/posts/default "chess" http://chessplayeratlarge.blogspot.com/feeds/posts/default "chess"
https://lukesmith.xyz/rss.xml "blog" https://lukesmith.xyz/rss.xml "blog"

22
xmonad/xmonad.hs

@ -13,8 +13,8 @@ import System.IO
import XMonad.Actions.SimpleDate import XMonad.Actions.SimpleDate
import XMonad.Actions.WindowBringer import XMonad.Actions.WindowBringer
import XMonad.Util.SpawnOnce import XMonad.Util.SpawnOnce
import XMonad.Actions.FindEmptyWorkspace
import XMonad.Actions.GridSelect
import qualified XMonad.StackSet as W import qualified XMonad.StackSet as W
myStartupHook :: X () myStartupHook :: X ()
@ -23,7 +23,8 @@ myStartupHook = do
spawnOnce "xcompmgr &" spawnOnce "xcompmgr &"
spawnOnce "dunst &" spawnOnce "dunst &"
spawnOnce "nm-applet &" spawnOnce "nm-applet &"
spawnOnce "stalonetray --config /home/krrish/.config/stalonetray/stalonetrayrc &" spawnOnce "volumeicon &"
spawnOnce "stalonetray --config .config/stalonetray/stalonetrayrc &"
spawnOnce "transmission-daemon &" spawnOnce "transmission-daemon &"
spawnOnce "setxkbmap -option ctrl:nocaps &" spawnOnce "setxkbmap -option ctrl:nocaps &"
spawnOnce "xset -b &" spawnOnce "xset -b &"
@ -59,23 +60,26 @@ main = do
, ((mod4Mask .|. shiftMask, xK_r), spawn "reboot") , ((mod4Mask .|. shiftMask, xK_r), spawn "reboot")
, ((mod4Mask, xK_b), spawn "notify-send 'Firefox' 'Opening firefox'; firefox") , ((mod4Mask, xK_b), spawn "notify-send 'Firefox' 'Opening firefox'; firefox")
, ((mod4Mask .|. controlMask, xK_x), shellPrompt def) , ((mod4Mask .|. controlMask, xK_x), shellPrompt def)
, ((mod4Mask .|. shiftMask, xK_f), spawn "st vifm")
, ((mod4Mask .|. shiftMask, xK_t), spawn "stalonetray -p") , ((mod4Mask .|. shiftMask, xK_t), spawn "stalonetray -p")
, ((mod4Mask .|. shiftMask, xK_n), spawn "st newsboat") , ((mod4Mask .|. shiftMask, xK_n), spawn "st newsboat")
, ((mod4Mask .|. shiftMask, xK_x), spawn "st vim .xmonad/xmonad.hs") , ((mod4Mask .|. shiftMask, xK_x), spawn "st vim .xmonad/xmonad.hs")
, ((mod4Mask .|. shiftMask, xK_u), spawn "st sup 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/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%")
, ((mod4Mask .|. shiftMask, xK_m), spawn "pactl set-sink-volume @DEFAULT_SINK@ -5%") , ((mod4Mask .|. shiftMask, xK_m), spawn "pactl set-sink-volume @DEFAULT_SINK@ -5%")
, ((mod4Mask .|. shiftMask, xK_p), spawn "pactl set-sink-volume @DEFAULT_SINK@ +5%") , ((mod4Mask .|. shiftMask, xK_p), spawn "pactl set-sink-volume @DEFAULT_SINK@ +5%")
, ((0, 0x1008FF12), spawn "pactl set-sink-mute @DEFAULT_SINK@ toggle") , ((0, 0x1008FF12), spawn "pactl set-sink-mute @DEFAULT_SINK@ toggle")
, ((0, 0x1008FF02), spawn "~/scripts/brightness 100") , ((0, 0x1008FF02), spawn "sudo ~/scripts/brightness 50")
, ((0, 0x1008FF03), spawn "~/scripts/brightness -100") , ((0, 0x1008FF03), spawn "sudo ~/scripts/brightness -50")
, ((mod4Mask, xK_o), spawn "rofi -show run") , ((mod4Mask, xK_o), spawn "rofi -show run")
, ((mod4Mask .|. shiftMask, xK_g), gotoMenu) , ((mod4Mask, xK_e), viewEmptyWorkspace)
, ((mod4Mask .|. shiftMask, xK_b), bringMenu) , ((mod4Mask .|. shiftMask, xK_e), tagToEmptyWorkspace)
, ((mod4Mask .|. shiftMask, xK_f), spawnSelected defaultGSConfig ["keepassxc", "brave", "pcmanfm"])
, ((mod4Mask .|. shiftMask, xK_g), goToSelected defaultGSConfig)
, ((mod4Mask .|. shiftMask, xK_w), gotoMenu)
] ]

Loading…
Cancel
Save