diff --git a/.Xresources.d/rofi b/.Xresources.d/rofi index 1873450..b9cb0ea 100644 --- a/.Xresources.d/rofi +++ b/.Xresources.d/rofi @@ -25,3 +25,8 @@ rofi.yoffset: 23 rofi.padding: 10 rofi.fixed-num-lines: false ! rofi.kb-cancel: Escape,Mod4+w +rofi.terminal: termite +rofi.ssh-client: ssh +rofi.ssh-command: {terminal} -e "{ssh-client} {host}" +rofi.run-command: {cmd} +rofi.run-shell-command: {terminal} -e {cmd} diff --git a/.config/polybar/config b/.config/polybar/config index 23b6c22..f2496b1 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -73,10 +73,11 @@ font-3 = FontAwesome:pixelsize=14;2 modules-left = i3 xwindow modules-center = -modules-right = backlight volume github pkg wlan vpncheck battery date powermenu +modules-right = backlight volume github pkg wlan pptpcheck battery date +;modules-right = backlight volume github pkg wlan vpncheck pptpcheck battery date powermenu ;modules-right = backlight volume pkg wlan vpncheck battery date powermenu -tray-position = left +tray-position = right tray-padding = 4 ;tray-transparent = true ;tray-background = #0063ff @@ -129,7 +130,7 @@ modules-left = modules-center = networkspeedup networkspeeddown modules-right = temperature filesystem-slash filesystem-home cpu memory -tray-position = +tray-position = right tray-padding = 2 [module/xwindow] @@ -222,10 +223,10 @@ ws-icon-1 = 2; ws-icon-2 = 3; ws-icon-3 = 4; ws-icon-4 = 5; -ws-icon-5 = 6; +ws-icon-5 = 6; ws-icon-6 = 7; -ws-icon-7 = 8; -ws-icon-8 = 9; +ws-icon-7 = 8; +ws-icon-8 = 9; ws-icon-9 = 10; [module/github] @@ -491,6 +492,15 @@ format-underline = #268bd2 format-prefix = " " format-prefix-foreground = #5b +[module/pptpcheck] +type = custom/script +exec = pgrep pppd +interval = 5 +label = pptp +format-underline = #268bd2 +format-prefix = " " +format-prefix-foreground = #5b + [module/powermenu] type = custom/menu diff --git a/.i3/config b/.i3/config index 3a102d8..ad0ca0e 100644 --- a/.i3/config +++ b/.i3/config @@ -92,18 +92,19 @@ set $tag2 "2:" set $tag3 "3:" set $tag4 "4:" set $tag5 "5:" -set $tag6 "6:" +set $tag6 "6:" set $tag7 "7:" -set $tag8 "8:" -set $tag9 "9:" +set $tag8 "8:" +set $tag9 "9:" set $tag10 "10:" # exec startup apps -exec --no-startup-id i3-msg 'exec thunderbird' +# exec --no-startup-id i3-msg 'exec thunderbird' +exec --no-startup-id i3-msg 'exec geary' exec --no-startup-id i3-msg 'workspace $tag1; exec google-chrome-stable &' exec --no-startup-id i3-msg 'workspace $tag2; exec termite' exec --no-startup-id i3-msg 'workspace $tag4; exec termite -e "screen -rd weechat &"; workspace $tag2' -exec --no-startup-id i3-msg 'workspace $tag10; exec termite -e "glances"; workspace $tag2' +# exec --no-startup-id i3-msg 'workspace $tag10; exec termite -e "glances"; workspace $tag2' #colors # class border backgr. text indicator child_border @@ -139,10 +140,27 @@ for_window [class="XTerm"] floating enable, border normal for_window [class="feh"] floating enable, border normal # assigns focus -assign [class="Connman-gtk"] $tag10 assign [class="Thunderbird"] $tag3 + +assign [class="Lollypop"] $tag5 +for_window [class="Lollypop"] focus + +assign [class="Code"] $tag6 +for_window [class="Code"] focus + +assign [class="WebTorrent"] $tag7 +for_window [class="WebTorrent"] focus + +assign [class="Nicotine"] $tag9 +for_window [class="Nicotine"] focus + +assign [class="Connman-gtk"] $tag10 for_window [class="Connman-gtk"] focus +#toggle workspace's display screen +bindsym $mod+less move workspace to output right +bindsym $mod+Shift+less move workspace to output up + #lollypop controls bindsym $mod+Control+Left exec ~/dev/git/mpris-ctrl/mpris-ctrl.sh Lollypop prev bindsym $mod+Control+Down exec ~/dev/git/mpris-ctrl/mpris-ctrl.sh Lollypop play-pause @@ -151,10 +169,6 @@ bindsym $mod+Control+Up exec "~/dev/git/lyricsdownloader/graphicalrapgenius.sh" 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" -#toggle workspace's display screen -bindsym $mod+less move workspace to output right -bindsym $mod+Shift+less move workspace to output up - #assign workspace to screens workspace $tag1 output DP-1-1 workspace $tag2 output eDP-1