Change Terminal from Kitty to Alacritty
- Change default terminal to alacritty - Add xmonad logout keybinding back instead of killing process - Change top screen border gap to 15 - Change filesystem and updates module intervals to 15 minutes
This commit is contained in:
17
README.org
17
README.org
@@ -53,7 +53,7 @@ The preferred terminal program, which is used in a binding below and by
|
||||
certain contrib modules.
|
||||
|
||||
#+begin_src haskell :tangle xmonad.hs
|
||||
myTerminal = "kitty"
|
||||
myTerminal = "alacritty"
|
||||
#+end_src
|
||||
|
||||
* Window Behavior & Appearance
|
||||
@@ -280,7 +280,8 @@ These default keybindings are left for reference, but are not actually used in m
|
||||
, ("M-n", spawn "/home/sravan/.scripts/dunst.sh --rofi") -- rofi menu
|
||||
|
||||
-- session control
|
||||
, ("M-q", spawn "/home/sravan/.scripts/session.sh --rofi") -- rofi menu
|
||||
, ("M-q", spawn "/home/sravan/.scripts/session.sh --rofi") -- rofi menu
|
||||
, ("M-S-q", io (exitWith ExitSuccess))
|
||||
|
||||
-- close focused window
|
||||
, ("M-S-c", kill) -- regular kill
|
||||
@@ -335,7 +336,7 @@ which denotes layout choice.
|
||||
-- Dimensions are given as (Border top bottom right left)
|
||||
mySpacing = spacingRaw False -- Only for >1 window
|
||||
-- The bottom edge seems to look narrower than it is
|
||||
(Border 10 15 15 15) -- Size of screen edge gaps
|
||||
(Border 15 15 15 15) -- Size of screen edge gaps
|
||||
True -- Enable screen edge gaps
|
||||
(Border 10 10 10 10) -- Size of window gaps
|
||||
True -- Enable window gaps
|
||||
@@ -664,10 +665,10 @@ Define module update intervals in seconds.
|
||||
cpu = 1
|
||||
date = 1
|
||||
time = 1
|
||||
filesystem = 60
|
||||
filesystem = 900
|
||||
memory = 1
|
||||
pulseaudio = 5
|
||||
updates = 600
|
||||
updates = 900
|
||||
media-playing = 1
|
||||
dunst-notification-status = 1
|
||||
#+end_src
|
||||
@@ -1179,7 +1180,7 @@ Define module update intervals in seconds.
|
||||
; <bar-load>
|
||||
; <ramp-load>
|
||||
; <ramp-coreload>
|
||||
format = %{A3:kitty -e bpytop &:} <label> %{A}
|
||||
format = %{A3:alacritty -e bpytop &:} <label> %{A}
|
||||
|
||||
; Available tokens:
|
||||
; %percentage% (default) - total cpu load averaged over all cores
|
||||
@@ -1344,7 +1345,7 @@ Define module update intervals in seconds.
|
||||
; <bar-swap-free>
|
||||
; <ramp-swap-used>
|
||||
; <ramp-swap-free>
|
||||
format = %{A3:kitty -e bpytop &:} <label> %{A}
|
||||
format = %{A3:alacritty -e bpytop &:} <label> %{A}
|
||||
|
||||
; Available tokens:
|
||||
; %percentage_used% (default)
|
||||
@@ -1501,7 +1502,7 @@ Define module update intervals in seconds.
|
||||
; "click-(left|middle|right)" will be executed using "/bin/sh -c [command]"
|
||||
; click-left = echo left %counter%
|
||||
; click-middle = echo middle %counter%
|
||||
click-right = kitty --hold -e paru -Syu &
|
||||
click-right = alacritty --hold -e paru -Syu &
|
||||
; double-click-left = echo double left %counter%
|
||||
; double-click-middle = echo double middle %counter%
|
||||
; double-click-right = echo double right %counter%
|
||||
|
@@ -74,10 +74,10 @@ battery = 30
|
||||
cpu = 1
|
||||
date = 1
|
||||
time = 1
|
||||
filesystem = 60
|
||||
filesystem = 900
|
||||
memory = 1
|
||||
pulseaudio = 5
|
||||
updates = 600
|
||||
updates = 900
|
||||
media-playing = 1
|
||||
dunst-notification-status = 1
|
||||
|
||||
@@ -563,7 +563,7 @@ interval = ${intervals.cpu}
|
||||
; <bar-load>
|
||||
; <ramp-load>
|
||||
; <ramp-coreload>
|
||||
format = %{A3:kitty -e bpytop &:} <label> %{A}
|
||||
format = %{A3:alacritty -e bpytop &:} <label> %{A}
|
||||
|
||||
; Available tokens:
|
||||
; %percentage% (default) - total cpu load averaged over all cores
|
||||
@@ -712,7 +712,7 @@ interval = ${intervals.memory}
|
||||
; <bar-swap-free>
|
||||
; <ramp-swap-used>
|
||||
; <ramp-swap-free>
|
||||
format = %{A3:kitty -e bpytop &:} <label> %{A}
|
||||
format = %{A3:alacritty -e bpytop &:} <label> %{A}
|
||||
|
||||
; Available tokens:
|
||||
; %percentage_used% (default)
|
||||
@@ -859,7 +859,7 @@ label-foreground = ${colors.updates}
|
||||
; "click-(left|middle|right)" will be executed using "/bin/sh -c [command]"
|
||||
; click-left = echo left %counter%
|
||||
; click-middle = echo middle %counter%
|
||||
click-right = kitty --hold -e paru -Syu &
|
||||
click-right = alacritty --hold -e paru -Syu &
|
||||
; double-click-left = echo double left %counter%
|
||||
; double-click-middle = echo double middle %counter%
|
||||
; double-click-right = echo double right %counter%
|
||||
|
16
xmonad.hs
16
xmonad.hs
@@ -28,7 +28,7 @@ import XMonad.Layout.Spacing (spacingRaw, Border(Border))
|
||||
import XMonad.Layout.GridVariants (Grid(Grid))
|
||||
import XMonad.Layout.ResizableTile
|
||||
|
||||
myTerminal = "kitty"
|
||||
myTerminal = "alacritty"
|
||||
|
||||
myFocusFollowsMouse :: Bool
|
||||
myFocusFollowsMouse = True
|
||||
@@ -109,7 +109,8 @@ myKeys =
|
||||
, ("M-n", spawn "/home/sravan/.scripts/dunst.sh --rofi") -- rofi menu
|
||||
|
||||
-- session control
|
||||
, ("M-q", spawn "/home/sravan/.scripts/session.sh --rofi") -- rofi menu
|
||||
, ("M-q", spawn "/home/sravan/.scripts/session.sh --rofi") -- rofi menu
|
||||
, ("M-S-q", io (exitWith ExitSuccess))
|
||||
|
||||
-- close focused window
|
||||
, ("M-S-c", kill) -- regular kill
|
||||
@@ -146,7 +147,7 @@ myLayout =
|
||||
-- Dimensions are given as (Border top bottom right left)
|
||||
mySpacing = spacingRaw False -- Only for >1 window
|
||||
-- The bottom edge seems to look narrower than it is
|
||||
(Border 10 15 15 15) -- Size of screen edge gaps
|
||||
(Border 15 15 15 15) -- Size of screen edge gaps
|
||||
True -- Enable screen edge gaps
|
||||
(Border 10 10 10 10) -- Size of window gaps
|
||||
True -- Enable window gaps
|
||||
@@ -182,7 +183,8 @@ myStartupHook = do
|
||||
spawnOnce "nyrna &" -- Nyrna Application Suspend
|
||||
spawnOnce "blueman-applet &" -- Blueman Bluetooth Manager
|
||||
spawnOnce "nm-applet &" -- Network Manager Applet
|
||||
spawnOnce "kdeconnect-indicator &" -- KDE Connect
|
||||
spawnOnce "/usr/lib/kdeconnectd &" -- KDE Connect Daemon
|
||||
spawnOnce "kdeconnect-indicator &" -- KDE Connect Indicator
|
||||
spawnOnce "flameshot &" -- Flameshot Screenshot Tool
|
||||
spawnOnce "xfce4-power-manager &" -- XFCE4 Power Manager
|
||||
|
||||
@@ -196,9 +198,9 @@ myStartupHook = do
|
||||
spawnOnce "light-locker --lock-on-suspend --lock-on-lid &" -- screen lock for lightdm
|
||||
|
||||
-- System Restore Processes
|
||||
spawnOnce "/home/sravan/.screenlayout/default.sh &" -- restore default screen layout
|
||||
spawnOnce "nitrogen --restore &" -- restore wallpaper
|
||||
spawnOnce "numlockx on &" -- enable numlock
|
||||
spawnOnce "/home/sravan/.screenlayout/default.sh" -- restore default screen layout
|
||||
spawnOnce "nitrogen --restore" -- restore wallpaper
|
||||
spawnOnce "numlockx on" -- enable numlock
|
||||
|
||||
main = do
|
||||
-- launches polybar
|
||||
|
Reference in New Issue
Block a user