update smol stuff
This commit is contained in:
@@ -691,7 +691,7 @@ We also need the actual snippets.
|
|||||||
(setq lsp-auto-guess-root t
|
(setq lsp-auto-guess-root t
|
||||||
lsp-idle-delay 1
|
lsp-idle-delay 1
|
||||||
lsp-enable-file-watchers nil
|
lsp-enable-file-watchers nil
|
||||||
lsp-headerline-breadcrumb-icons-enable nil))
|
lsp-headerline-breadcrumb-icons-enable t))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
Code Lens can show error inline.
|
Code Lens can show error inline.
|
||||||
|
|||||||
@@ -3,12 +3,13 @@
|
|||||||
date=$(date +'%A, %d. %b %R')
|
date=$(date +'%A, %d. %b %R')
|
||||||
|
|
||||||
battery=$(cat /sys/class/power_supply/BAT1/capacity)
|
battery=$(cat /sys/class/power_supply/BAT1/capacity)
|
||||||
if [ ${battery} -lt 8 ]; then
|
|
||||||
notify-send "Battery" "Critical Battery State!\n ${battery}% remaining!"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ $(cat /sys/class/power_supply/BAT1/status) = 'Discharging' ]; then
|
if [ $(cat /sys/class/power_supply/BAT1/status) = 'Discharging' ]; then
|
||||||
bat_rem="▼"
|
bat_rem="▼"
|
||||||
|
|
||||||
|
if [ ${battery} -lt 6 ]; then
|
||||||
|
notify-send -i battery "Battery" "Critical Battery State!\n ${battery}% remaining!"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
bat_rem="⯅"
|
bat_rem="⯅"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -178,8 +178,8 @@ input type:keyboard {
|
|||||||
for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill
|
for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill
|
||||||
for_window [class="discord"] move container to workspace number $ws3
|
for_window [class="discord"] move container to workspace number $ws3
|
||||||
for_window [class="Spotify"] move container to workspace number $ws4
|
for_window [class="Spotify"] move container to workspace number $ws4
|
||||||
assign [app_id="org.keepassxc.KeePassXC"] $ws9
|
for_window [app_id="geary"] move container to workspace number $ws8
|
||||||
assign [app_id="geary"] $ws8
|
for_window [app_id="org.keepassxc.KeepassXC"] move container to workspace number $ws9
|
||||||
|
|
||||||
# Status Bar
|
# Status Bar
|
||||||
# man 5 sway-bar
|
# man 5 sway-bar
|
||||||
|
|||||||
Reference in New Issue
Block a user