From 1f72bc4044613a4842bd76efe84b2f25d52f6325 Mon Sep 17 00:00:00 2001 From: Rushil Umaretiya Date: Wed, 1 Nov 2023 14:09:10 -0400 Subject: [PATCH] updated i3 and polybar configs --- i3/config | 12 ++++++------ kmonad/config.kbd | 16 ++++++++-------- polybar/modules.ini | 33 +++++++++++++++++++++++++++------ 3 files changed, 41 insertions(+), 20 deletions(-) diff --git a/i3/config b/i3/config index bdabd04..cb51f11 100644 --- a/i3/config +++ b/i3/config @@ -244,8 +244,8 @@ bindsym $mod+v split v bindsym $mod+f fullscreen toggle # change container layout (stacked, tabbed, toggle split) -bindsym $mod+s layout stacking -bindsym $mod+g layout tabbed +#bindsym $mod+s layout stacking +#bindsym $mod+g layout tabbed bindsym $mod+e layout toggle split # toggle tiling / floating @@ -599,10 +599,10 @@ bindsym $mod+t exec rofi -show window \ ## rofi bindings to manage clipboard (install rofi-greenclip from the AUR) -#exec --no-startup-id greenclip daemon>/dev/null -# bindsym $mod+c exec --no-startup-id rofi -modi "clipboard:greenclip print" -show clipboard \ -# -config ~/.config/rofi/rofidmenu.rasi +exec --no-startup-id greenclip daemon>/dev/null + bindsym $mod+c exec --no-startup-id rofi -modi "clipboard:greenclip print" -show clipboard \ + -run-command '{cmd}' -config ~/.config/rofi/rofidmenu.rasi + -exec --no-startup-id parcellite exec_always --no-startup-id ~/.config/polybar/launch.sh exec_always --no-startup-id ~/.config/kmonad/launch.sh; diff --git a/kmonad/config.kbd b/kmonad/config.kbd index f7e6306..cbaf1b0 100644 --- a/kmonad/config.kbd +++ b/kmonad/config.kbd @@ -12,15 +12,15 @@ ) (defalias - home_a (tap-hold-next-release 200 a lmet) - home_s (tap-hold-next-release 200 s lalt) - home_d (tap-hold-next-release 200 d lctl) - home_f (tap-hold-next-release 200 f lsft) + met_a (tap-hold-next-release 250 a lmet) + alt_s (tap-hold-next-release 250 s lalt) + ctl_d (tap-hold-next-release 250 d lctl) + sft_f (tap-hold-next-release 250 f lsft) - home_j (tap-hold-next-release 200 j rsft) - home_k (tap-hold-next-release 200 k rctl) - home_l (tap-hold-next-release 200 l lalt) - home_; (tap-hold-next-release 200 ; rmet) + sft_j (tap-hold-next-release 250 j rsft) + ctl_k (tap-hold-next-release 250 k rctl) + alt_l (tap-hold-next-release 250 l lalt) + met_; (tap-hold-next-release 250 ; rmet) ) (deflayer homerowmods diff --git a/polybar/modules.ini b/polybar/modules.ini index 1665cac..ffbed89 100644 --- a/polybar/modules.ini +++ b/polybar/modules.ini @@ -1000,18 +1000,18 @@ time-format = %H:%M ; ; ; -format-charging = -format-charging-prefix = "" -format-charging-prefix-foreground = ${color.green} +;format-charging = +;format-charging-prefix = "" +;format-charging-prefix-foreground = ${color.green} ; Available tags: ; (default) ; ; ; -format-discharging = -format-discharging-prefix = "" -format-discharging-prefix-foreground = ${color.pink} +;format-discharging = +;format-discharging-prefix = "" +;format-discharging-prefix-foreground = ${color.pink} ; Available tags: ; (default) @@ -1036,3 +1036,24 @@ label-discharging = " %percentage%%" ; Available tokens: ; %percentage% (default) label-full = " Full" + +format-charging = +format-discharging = + +ramp-capacity-0 =  +;ramp-capacity-0-foreground = ${colors.alert} +ramp-capacity-1 =  +;ramp-capacity-1-foreground = ${colors.warning} +ramp-capacity-2 =  +ramp-capacity-3 =  +ramp-capacity-4 =  +ramp-capacity-foreground = ${color.pink} + +animation-charging-0 =  +;animation-charging-0 =  +animation-charging-1 =  +animation-charging-2 =  +animation-charging-3 =  +animation-charging-4 =  +animation-charging-foreground = ${color.green} +animation-charging-framerate = 1000