[DSiR v0.92.0.0]

- Migrated from i3status-rs to polybar.
This commit is contained in:
2020-12-27 17:35:32 +00:00
parent 5c96f4d167
commit b35727ce5a
30 changed files with 4182 additions and 29 deletions
+14 -29
View File
@@ -11,9 +11,10 @@ exec_always --no-startup-id setxkbmap -layout gb
#exec --no-startup-id vmware-user
exec --no-startup-id xfce-power-manager &
exec_always --no-startup-id nitrogen --restore
exec_always --no-startup-id picom --backend glx --experimental-backends -b
exec_always --no-startup-id picom --backend glx -b
exec --no-startup-id deadd-notification-center
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
exec_always ~/.config/polybar/launch.sh --shapes &
#exec --no-startup-id xiccd &
##############################################################################
@@ -104,11 +105,11 @@ bindsym $mod+Shift+q kill
########################## Launcher Shortcuts ##############################
# start rofi (launch commands)
bindsym $mod+r exec rofi -show run
bindsym $mod+r exec ~/.config/polybar/shapes/scripts/run.sh
# start rofi (launch apps)
bindsym $mod+d exec rofi -modi drun -show drun -show-icons -icon-theme Pop
bindsym $mod+d exec ~/.config/polybar/shapes/scripts/launcher.sh
# start rofi (window selector)
bindsym $mod+x exec rofi -show window -show-icons -icon-theme Pop
bindsym $mod+x exec ~/.config/polybar/shapes/scripts/window-switcher.sh
###########################################################################
# There also is the (new) i3-dmenu-desktop which only displays applications
@@ -168,16 +169,16 @@ bindsym $mod+a focus parent
# Define names for default workspaces for which we configure key bindings later on.
# We use variables to avoid repeating the names in multiple places.
set $ws1 "1: "
set $ws1 "1"
set $ws2 "2"
set $ws3 "3"
set $ws4 "4"
set $ws5 "5"
set $ws6 "6"
set $ws7 "7: "
set $ws8 "8: "
set $ws9 "9: "
set $ws10 "10: "
set $ws7 "7"
set $ws8 "8"
set $ws9 "9"
set $ws10 "10"
# switch to workspace
bindsym $mod+1 workspace number $ws1
@@ -204,34 +205,18 @@ bindsym $mod+Shift+9 move container to workspace number $ws9
bindsym $mod+Shift+0 move container to workspace number $ws10
# assign programs to specific workspaces
assign [class="firefox"] $ws8
assign [class="nemo"] $ws9
assign [class="youtube-music-desktop-app"] $ws10
assign [class="firefox"] $ws2
assign [class="nemo"] $ws3
assign [class="youtube-music-desktop-app"] $ws4
# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
bindsym $mod+Shift+e exec ~/.config/rofi/scripts/powermenu.sh
bindsym $mod+Shift+e exec /home/dunestorm/.config/polybar/shapes/scripts/powermenu.sh
bindsym $mod+Mod1+Left resize shrink width 10 px or 10 ppt
bindsym $mod+Mod1+Down resize grow height 10 px or 10 ppt
bindsym $mod+Mod1+Up resize shrink height 10 px or 10 ppt
bindsym $mod+Mod1+Right resize grow width 10 px or 10 ppt
bar {
font pango:DejaVu Sans Mono, FontAwesome 11
position top
status_command i3status-rs ~/.config/i3status-rust/config.toml
tray_output none
colors {
separator #666666
background #222222
statusline #dddddd
focused_workspace #FE7E29 #FE7E29 #ffffff
active_workspace #333333 #333333 #ffffff
inactive_workspace #333333 #333333 #888888
urgent_workspace #2f343a #900000 #ffffff
}
}