mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-22 23:12:32 +01:00
added files
This commit is contained in:
parent
48359c0f9b
commit
6086e57571
37
roles/i3-wm/templates/work/config.j2
Normal file
37
roles/i3-wm/templates/work/config.j2
Normal file
@ -0,0 +1,37 @@
|
||||
#assign work
|
||||
assign [class="Thunderbird"] $tag3
|
||||
assign [class="Code"] $tag6
|
||||
for_window [class="Code"] focus
|
||||
assign [class="Virt-manager"] $tag8
|
||||
for_window [class="Virt-manager"] focus
|
||||
assign [class="VirtualBox"] $tag8
|
||||
for_window [class="VirtualBox"] focus
|
||||
assign [class="Connman-gtk"] $tag10
|
||||
for_window [class="Connman-gtk"] focus
|
||||
|
||||
#class confs
|
||||
for_window [class="Cssh"] floating enable, border normal
|
||||
for_window [class="XTerm"] floating enable, border normal
|
||||
for_window [class="feh"] floating enable, border normal
|
||||
for_window [class="Wine"] move to workspace $tag6
|
||||
for_window [class="Pidgin"] move to workspace $tag5
|
||||
for_window [class="retroarch"] move to scratchpad
|
||||
|
||||
#bindsym work
|
||||
bindsym $mod+Control+Prior exec "cd ~/dev/git/interfaceliftdownloader/ ; ./interfacelift.sh -c ./wallpaper.conf"
|
||||
bindsym $mod+Control+Next exec "~/dev/git/interfaceliftdownloader/interfacelift.sh -sc ~/dev/git/interfaceliftdownloader/wallpaper.conf"
|
||||
|
||||
#assign workspace to screens
|
||||
workspace $tag1 output HDMI-1
|
||||
workspace $tag2 output HDMI-2
|
||||
workspace $tag3 output HDMI-2
|
||||
workspace $tag4 output HDMI-2
|
||||
workspace $tag5 output HDMI-2
|
||||
|
||||
# exec startup apps
|
||||
|
||||
exec --no-startup-id i3-msg 'exec thunderbird'
|
||||
exec --no-startup-id i3-msg 'workspace $tag1; exec google-chrome-stable &; workspace $tag1'
|
||||
exec --no-startup-id i3-msg 'workspace $tag2; exec termite &; workspace $tag1'
|
||||
exec --no-startup-id i3-msg 'workspace $tag4; exec termite -e "screen -rd weechat &"; workspace $tag1'
|
||||
exec --no-startup-id i3-msg 'workspace $tag2'
|
3
roles/polybar/templates/work/launch.j2
Normal file
3
roles/polybar/templates/work/launch.j2
Normal file
@ -0,0 +1,3 @@
|
||||
MONITOR=HDMI-1 polybar top &
|
||||
MONITOR=HDMI-2 polybar top &
|
||||
MONITOR=HDMI-2 polybar bottom &
|
3
roles/polybar/templates/work/modules-bottom.j2
Normal file
3
roles/polybar/templates/work/modules-bottom.j2
Normal file
@ -0,0 +1,3 @@
|
||||
modules-left =
|
||||
modules-center = networkspeedup networkspeeddown
|
||||
modules-right = neon-lvmcheck neon-backupcheck filesystem-slash filesystem-home cpu memory
|
19
roles/polybar/templates/work/modules-def.j2
Normal file
19
roles/polybar/templates/work/modules-def.j2
Normal file
@ -0,0 +1,19 @@
|
||||
[module/neon-lvmcheck]
|
||||
type = custom/script
|
||||
interval = 1200
|
||||
format = <label>
|
||||
label = "%output:0:100%%"
|
||||
format-prefix = " neon:thinpool "
|
||||
format-prefix-foreground = #5b5b5b
|
||||
exec = ssh root@neon lvs | grep '^\ *rootpool' | awk '{ print $5 }'
|
||||
exec-if = ssh-add -L
|
||||
|
||||
[module/neon-backupcheck]
|
||||
type = custom/script
|
||||
interval = 1200
|
||||
format = <label>
|
||||
label = "%output:0:100%"
|
||||
format-prefix = " neon:dev/sdb "
|
||||
format-prefix-foreground = #5b5b5b
|
||||
exec = ssh root@neon df -h | grep /mnt/sdb | awk '{ print $5 }'
|
||||
exec-if = ssh-add -L
|
3
roles/polybar/templates/work/modules-top.j2
Normal file
3
roles/polybar/templates/work/modules-top.j2
Normal file
@ -0,0 +1,3 @@
|
||||
modules-left = i3 xwindow
|
||||
modules-center =
|
||||
modules-right = backlight volume github wlan eth vpncheck pkg battery date
|
Loading…
Reference in New Issue
Block a user