update smol stuff

This commit is contained in:
Marco Thomas
2022-05-27 21:37:49 +02:00
parent 30c9f007ab
commit 7d84b4ffe0
3 changed files with 7 additions and 6 deletions

View File

@@ -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.

View File

@@ -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

View File

@@ -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