diff --git a/i3/config b/i3/config index 8c1ea83..9307b24 100644 --- a/i3/config +++ b/i3/config @@ -5,6 +5,10 @@ exec --no-startup-id "feh --no-fehbg --bg-fill /home/user/.config/awesome/wallpa exec --no-startup-id "picom -b" exec --no-startup-id "polybar &" +exec --no-startup-id "nm-applet &" +exec --no-startup-id "xmodmap /home/user/.Xmodmap" +exec --no-startup-id xcape -e "Super_L=Super_L|XF86Launch5" -t 5000 + bindsym --whole-window --border button7 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +2% bindsym --whole-window --border button6 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -2% @@ -12,8 +16,12 @@ bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle +bindsym XF86AudioNext exec --no-startup-id playerctl next +bindsym XF86AudioPrevious exec --no-startup-id playerctl previous +bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl s 10%+ bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl s 10%- +bindsym ctrl+Mod2+Mod4+q exec systemctl suspend # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod @@ -35,7 +43,10 @@ bindsym $mod+q kill # start dmenu (a program launcher) bindsym $mod+d exec "~/.config/awesome/scripts/toggle_rofi.sh" +bindsym $mod+XF86Launch5 exec "~/.config/awesome/scripts/toggle_rofi.sh" bindsym $mod+Escape exec "rofi -show power-menu -modi power-menu:~/.config/awesome/scripts/rofi-power-menu" +bindsym XF86PowerOff exec "rofi -show power-menu -modi power-menu:~/.config/awesome/scripts/rofi-power-menu" +bindsym $mod+c exec CM_LAUNCHER=rofi-script rofi -modi "clipmenu:/usr/bin/clipmenu" -show clipmenu bindsym $mod+b exec firefox # change focus @@ -150,6 +161,11 @@ mode "resize" { bindsym $mod+r mode "default" } +# Colors +client.focused #4c7899 #285577 #ffffff #2e9ef4 #002F5F +client.unfocused #4c7899 #285577 #ffffff #2e9ef4 #00000000 +client.focused_inactive #333333 #5f676a #ffffff #484e50 #00000000 + bindsym $mod+r mode "resize" # Hide the title bar diff --git a/polybar/config.ini b/polybar/config.ini index 1770a54..07af16e 100644 --- a/polybar/config.ini +++ b/polybar/config.ini @@ -21,11 +21,11 @@ dpi-y = 96 tray-position = right tray-background = ${colors.blue} -tray-offset-x = -7 -tray-padding = 5 +tray-offset-x = -4 +tray-padding = 7 ; Set bar's default background/foreground color -background = #12151cbb +background = #9912151c foreground = ${colors.white} ; Set bar's fonts list @@ -61,7 +61,7 @@ format-foreground = ${colors.white} format-volume-background = ${colors.blue} format-muted-background = ${colors.blue} format-volume = " " -label-muted = 🔇 muted +format-muted = "  " ramp-volume-0 = 🔈 ramp-volume-1 = 🔊 @@ -74,7 +74,7 @@ background-next = ${root.background} type = internal/date format-background = ${self.background} format-foreground = ${colors.white} -date = " %a %b %d, %H:%M:%S " +date = " %a %b %d, %H:%M:%S " [module/cpu] ; Powerline settings @@ -146,8 +146,8 @@ background = ${colors.blue} background-next = ${root.background} format-background = ${self.background} format-foreground = ${colors.white} -label = " %title% " -label-maxlen = 100 +label = "  %title% " +label-maxlen = 80 [module/i3] @@ -164,6 +164,9 @@ label-unfocused-font=3 label-separator-padding = 2 label-focused = %index% label-unfocused = %index% +label-mode = %mode% +label-mode-padding = 3 +label-mode-background = ${colors.blue} [module/battery] type = custom/script diff --git a/polybar/powerline-for-polybar.config b/polybar/powerline-for-polybar.config index caac7a5..c79ef22 100644 --- a/polybar/powerline-for-polybar.config +++ b/polybar/powerline-for-polybar.config @@ -96,7 +96,7 @@ type = custom/text content-background = ${self.background-next} content-foreground = ${self.background} label-font = 1 -content = "  " +content = " " ; ; # Right-to-left end-of-line separator