Compare commits

...

2 Commits

Author SHA1 Message Date
Thomas Avé 29b6161ed3 Change padding 2023-05-22 19:14:13 +02:00
Thomas Avé df09362098 Show background color for workspaces that are on other monitor 2023-05-22 18:14:22 +02:00
2 changed files with 16 additions and 7 deletions

View File

@ -1,6 +1,7 @@
set $mod Mod4
font pango:monospace 0
exec --no-startup-id "/home/user/.config/awesome/scripts/setup_display.sh"
exec_always --no-startup-id "feh --no-fehbg --bg-fill /home/user/.config/awesome/wallpaper/wallpaper.png"
exec --no-startup-id "picom -b"
exec_always --no-startup-id "killall polybar; polybar -r &"
@ -13,6 +14,7 @@ bindsym --whole-window --border button7 exec --no-startup-id pactl set-sink-volu
bindsym --whole-window --border button6 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -2%
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10%
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10%
bindsym $mod+XF86AudioMute exec --no-startup-id playerctl play-pause
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
@ -23,6 +25,7 @@ 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+Mod4+q exec systemctl suspend
bindsym ctrl+Mod1+l exec i3lockr --blur 25
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
@ -82,7 +85,8 @@ bindsym $mod+ctrl+l split h
bindsym $mod+ctrl+j split v
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+m exec "/home/user/.config/i3/toggle_maximize.sh"
# bindsym $mod+m exec "/home/user/.config/i3/toggle_maximize.sh"
bindsym $mod+m fullscreen toggle
# toggle tiling / floating
bindsym $mod+f floating toggle
@ -106,6 +110,10 @@ set $ws8 "8"
set $ws9 "9"
set $ws10 "10"
workspace 1 output DP-1
workspace 2 output primary
workspace 1 output DP-2
# switch to workspace
bindsym $mod+1 workspace number $ws1
bindsym $mod+2 workspace number $ws2

View File

@ -15,13 +15,13 @@ include-file = ~/.config/polybar/colors.config
[bar/example]
; Generic options
width = 100%
height = 30
height = 32
dpi-x = 96
dpi-y = 96
tray-position = right
tray-background = ${colors.blue}
tray-offset-x = -4
tray-offset-x = 0
tray-padding = 7
; Set bar's default background/foreground color
@ -29,7 +29,7 @@ background = #9912151c
foreground = ${colors.white}
; Set bar's fonts list
font-0 = "Ubuntu:size=11:weight=85:antialias=true;2"
font-0 = "Noto Sans:size=13:weight=85:antialias=true;3"
font-1 = "Source Code Pro:pixelsize=20:antialias=true;6"
font-2 = "Source Code Pro:size=11:weight=bold:antialias=true;3"
font-3 = "Font Awesome 6 Free Solid:size=10:antialias=true;3"
@ -171,9 +171,10 @@ pin-workspaces = false
show-urgent = true
index-sort = true
enable-click = true
label-unfocused-padding = 3
label-unfocused-padding = 4
label-focused-background = ${colors.blue}
label-focused-padding = 3
label-visible-background = ${colors.background}
label-focused-padding = 4
label-focused-font=3
label-unfocused-font=3
label-visible-font=3
@ -183,7 +184,7 @@ label-unfocused = %index%
label-visible = %index%
label-visible-mode = %mode%
label-mode-padding = 3
label-visible-padding = 3
label-visible-padding = 4
label-mode-background = ${colors.blue}
[module/battery]