diff --git a/base/.xprofile b/base/.xprofile index 8f73ea34..acfa1bfd 100644 --- a/base/.xprofile +++ b/base/.xprofile @@ -1,8 +1,6 @@ #!/bin/sh -# ~/.xprofile - -# sourced at boot by ~/.xinitrc and display managers like lightdm +# sourced at boot by ~/.xinitrc and most display managers export XDG_CONFIG_HOME="$HOME/.config" diff --git a/bspwm-home/.config/bspwm/bspwmrc b/bspwm-home/.config/bspwm/bspwmrc index ec24833b..8b8f82bb 100755 --- a/bspwm-home/.config/bspwm/bspwmrc +++ b/bspwm-home/.config/bspwm/bspwmrc @@ -7,7 +7,7 @@ xsetroot -cursor_name left_ptr sxhkd & # panel -al-polybar-session & +tint2 & # Set some bsp specific stuff bspc monitor -d I II III IV V VI VII VIII IX X diff --git a/i3-gaps-home/.config/i3/config b/i3-gaps-home/.config/i3/config index 3ea40200..f32b9f0c 100644 --- a/i3-gaps-home/.config/i3/config +++ b/i3-gaps-home/.config/i3/config @@ -49,16 +49,19 @@ set $WS6 "6: " set $WS7 "7: " set $WS8 "8: " -# monitors -set $Mon1 HDMI1 -set $Mon2 HDMI2 +##################################################### +############### Bar ################## +##################################################### + +bar { + status_command i3status +} ##################################################### ############### Autostart ################## ##################################################### # run with reload -exec_always --no-startup-id al-polybar-session exec_always --no-startup-id xrdb -load ~/.Xresources # run once @@ -92,14 +95,19 @@ bindsym $Mod+x exec --no-startup-id rofi_run -l # Screenshot bindsym Print exec --no-startup-id "scrot '%S.png' -e 'mv $f $$(xdg-user-dir PICTURES)/ArchLabs-%S-$wx$h.png ; feh $$(xdg-user-dir PICTURES)/ArchLabs-%S-$wx$h.png'" +# reload status +set $refresh_i3status killall -SIGUSR1 i3status + # audio bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause bindsym XF86AudioNext exec --no-startup-id playerctl next bindsym XF86AudioPrev exec --no-startup-id playerctl previous bindsym XF86AudioStop exec --no-startup-id playerctl stop -bindsym XF86AudioMute exec --no-startup-id pamixer -t -bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer -i 2 -bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 2 + +# reload status when changing volume +bindsym XF86AudioMute exec --no-startup-id pamixer -t && $refresh_i3status +bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer -i 2 && $refresh_i3status +bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 2 && $refresh_i3status # backlight bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10 @@ -109,16 +117,6 @@ bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 10 ########### Workspace Bindings ############### ################################################################ -# workspace assignment -workspace $WS1 output $Mon1 -workspace $WS2 output $Mon1 -workspace $WS3 output $Mon1 -workspace $WS4 output $Mon1 -workspace $WS5 output $Mon2 -workspace $WS6 output $Mon2 -workspace $WS7 output $Mon2 -workspace $WS8 output $Mon2 - # switch to workspace bindsym $Mod+1 workspace $WS1 bindsym $Mod+2 workspace $WS2 @@ -143,7 +141,6 @@ bindsym $mod+Mod2+KP_8 workspace $WS8 bindsym $mod+Mod1+Left workspace prev bindsym $mod+Mod1+Right workspace next - # move focused container to workspace bindsym $Mod+Shift+1 move container to workspace $WS1; workspace $WS1 bindsym $Mod+Shift+2 move container to workspace $WS2; workspace $WS2 @@ -155,14 +152,14 @@ bindsym $Mod+Shift+7 move container to workspace $WS7; workspace $WS7 bindsym $Mod+Shift+8 move container to workspace $WS8; workspace $WS8 # move focused container to workspace - numpad alternatives -bindsym $Mod+Shift+Mod2+KP_End move container to workspace $WS1; workspace $WS1 -bindsym $Mod+Shift+Mod2+KP_Down move container to workspace $WS2; workspace $WS2 -bindsym $Mod+Shift+Mod2+KP_Next move container to workspace $WS3; workspace $WS3 -bindsym $Mod+Shift+Mod2+KP_Left move container to workspace $WS4; workspace $WS4 +bindsym $Mod+Shift+Mod2+KP_End move container to workspace $WS1; workspace $WS1 +bindsym $Mod+Shift+Mod2+KP_Down move container to workspace $WS2; workspace $WS2 +bindsym $Mod+Shift+Mod2+KP_Next move container to workspace $WS3; workspace $WS3 +bindsym $Mod+Shift+Mod2+KP_Left move container to workspace $WS4; workspace $WS4 bindsym $Mod+Shift+Mod2+KP_Begin move container to workspace $WS5; workspace $WS5 bindsym $Mod+Shift+Mod2+KP_Right move container to workspace $WS6; workspace $WS7 -bindsym $Mod+Shift+Mod2+KP_Home move container to workspace $WS7; workspace $WS7 -bindsym $Mod+Shift+Mod2+KP_Up move container to workspace $WS8; workspace $WS8 +bindsym $Mod+Shift+Mod2+KP_Home move container to workspace $WS7; workspace $WS7 +bindsym $Mod+Shift+Mod2+KP_Up move container to workspace $WS8; workspace $WS8 ############################################################ diff --git a/openbox-home/.config/openbox/autostart b/openbox-home/.config/openbox/autostart index 17e81d4a..29bec391 100644 --- a/openbox-home/.config/openbox/autostart +++ b/openbox-home/.config/openbox/autostart @@ -2,4 +2,4 @@ xfsettingsd & # start the panel -al-polybar-session & +tint2 & diff --git a/openbox-home/.config/openbox/menu.xml b/openbox-home/.config/openbox/menu.xml index 8a5dfe7f..4cb20b07 100644 --- a/openbox-home/.config/openbox/menu.xml +++ b/openbox-home/.config/openbox/menu.xml @@ -76,7 +76,7 @@
- +