Remove polybar launch commands

This commit is contained in:
natemaia 2019-09-14 23:20:26 -07:00
parent 75a1854515
commit 5a0a37d75d
5 changed files with 25 additions and 30 deletions

View File

@ -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"

View File

@ -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

View File

@ -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
############################################################

View File

@ -2,4 +2,4 @@
xfsettingsd &
# start the panel
al-polybar-session &
tint2 &

View File

@ -76,7 +76,7 @@
</menu>
<menu execute="al-compton-pipemenu" id="CompositingPipeMenu" label="Compton"/>
<menu execute="al-conky-pipemenu" id="ConkyPipeMenu" label="Conky"/>
<menu execute="al-polybar-pipemenu" id="PolybarPipeMenu" label="Polybar"/>
<menu execute="al-tint2-pipemenu" id="Tint2PipeMenu" label="Tint2"/>
<separator/>
<item label="Nitrogen">
<action name="Execute">