diff --git a/etc/X11/xorg.conf.d/50-acceleration.conf b/etc/X11/xorg.conf.d/50-acceleration.conf index 25f70556..b98bd44d 100755 --- a/etc/X11/xorg.conf.d/50-acceleration.conf +++ b/etc/X11/xorg.conf.d/50-acceleration.conf @@ -1,6 +1,6 @@ Section "InputClass" - Identifier "Mouse" - Driver "libinput" - MatchIsPointer "yes" - Option "AccelProfile" "flat" + Identifier "Mouse" + Driver "libinput" + MatchIsPointer "yes" + Option "AccelProfile" "flat" EndSection diff --git a/etc/X11/xorg.conf.d/99-killX.conf b/etc/X11/xorg.conf.d/99-killX.conf index 900feeb2..87f961c1 100644 --- a/etc/X11/xorg.conf.d/99-killX.conf +++ b/etc/X11/xorg.conf.d/99-killX.conf @@ -1,9 +1,9 @@ Section "ServerFlags" - Option "DontZap" "false" + Option "DontZap" "false" EndSection Section "InputClass" - Identifier "Keyboard Defaults" - MatchIsKeyboard "yes" - Option "XkbOptions" "terminate:ctrl_alt_bksp" + Identifier "Keyboard Defaults" + MatchIsKeyboard "yes" + Option "XkbOptions" "terminate:ctrl_alt_bksp" EndSection diff --git a/home/.config/bspwm/bspwmrc b/home/.config/bspwm/bspwmrc index 138da19b..798b84d5 100755 --- a/home/.config/bspwm/bspwmrc +++ b/home/.config/bspwm/bspwmrc @@ -17,7 +17,7 @@ lxpolkit & # panel al-tint2-session & -sleep 1; launch-polybar & +sleep 1; start-polybar & bspc monitor -d I II III IV V VI VII VIII IX X diff --git a/home/.config/compton.conf b/home/.config/compton.conf index e87c4456..f00eafeb 100644 --- a/home/.config/compton.conf +++ b/home/.config/compton.conf @@ -35,17 +35,17 @@ detect-transient = true; detect-client-leader = true; # GLX backend -#glx-no-stencil = true; +glx-no-stencil = true; +glx-no-rebind-pixmap = true; #glx-copy-from-front = false; #glx-use-copysubbuffermesa = true; -#glx-no-rebind-pixmap = true; #glx-swap-method = "undefined"; #glx-use-gpushader4 = true; #xrender-sync = true; #xrender-sync-fence = true; opacity-rule = [ - "80:class_g = 'XTerm'", + "85:class_g = 'XTerm'", "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" ]; diff --git a/home/.config/i3/config b/home/.config/i3/config index edbb7e80..aa1c6ace 100644 --- a/home/.config/i3/config +++ b/home/.config/i3/config @@ -40,7 +40,7 @@ gaps inner 12 gaps outer 0 # font -font pango:Ubuntu Light 11 +font pango:Ubuntu 11 ## @@ -76,7 +76,7 @@ set $secondMonitor HDMI2 # run with reload exec_always --no-startup-id start-compton -exec_always --no-startup-id launch-polybar +exec_always --no-startup-id start-polybar exec_always --no-startup-id numlockx on # run once diff --git a/home/.config/openbox/autostart b/home/.config/openbox/autostart index 3efe7543..ce915ea2 100755 --- a/home/.config/openbox/autostart +++ b/home/.config/openbox/autostart @@ -11,7 +11,7 @@ numlockx on & # panel al-tint2-session & -sleep 1; ~/bin/launch-polybar & +sleep 1; start-polybar & # Openbox autostart ob-autostart -d & diff --git a/home/.config/openbox/menu.xml b/home/.config/openbox/menu.xml index cd05e6e2..0bb5a4f7 100644 --- a/home/.config/openbox/menu.xml +++ b/home/.config/openbox/menu.xml @@ -9,7 +9,7 @@ - al-open -web + exo-open --launch WebBrowser diff --git a/home/.config/polybar/modules.conf b/home/.config/polybar/modules.conf index 1cb59a02..a9d0138c 100644 --- a/home/.config/polybar/modules.conf +++ b/home/.config/polybar/modules.conf @@ -81,13 +81,13 @@ ws-icon-default =  format = label-mode = %mode% label-mode-padding = 2 -label-focused = %name% +label-focused = %index% %name% label-focused-padding = 2 -label-unfocused = %name% +label-unfocused = %index% %name% label-unfocused-padding = 2 -label-visible = %name% +label-visible = %index% %name% label-visible-padding = 2 -label-urgent = %name% +label-urgent = %index% %name% label-urgent-padding = 2 label-mode-underline = ${colors.urgent} label-focused-underline = ${colors.trim} @@ -204,6 +204,7 @@ ramp-coreload-3-foreground = ${colors.yellow} ramp-coreload-4-foreground = ${colors.urgent} ramp-coreload-5-foreground = ${colors.urgent} + ;;;;;;;;; ;; MEM ;; ;;;;;;;;; diff --git a/home/.config/termite/config b/home/.config/termite/config index 0116eca2..2c1cc45d 100755 --- a/home/.config/termite/config +++ b/home/.config/termite/config @@ -7,7 +7,7 @@ allow_bold = true dynamic_title = true urgent_on_bell = true clickable_url = true -font = Ubuntu Mono Nerd Font 10 +font = Ubuntu Mono 10 scrollback_lines = 10000 search_wrap = true icon_name = utilities-terminal diff --git a/home/.config/tint2/default.tint2rc b/home/.config/tint2/default.tint2rc index 7f47586c..9ec48690 100755 --- a/home/.config/tint2/default.tint2rc +++ b/home/.config/tint2/default.tint2rc @@ -70,7 +70,7 @@ border_color_pressed = #222222 90 #------------------------------------- # Panel -panel_items = LTBSC +panel_items = PLTSC panel_size = 100% 30 panel_margin = 0 0 panel_padding = 0 0 0 @@ -217,3 +217,8 @@ tooltip_padding = 2 2 tooltip_background_id = 6 tooltip_font_color = #d8d8d8 100 tooltip_font = Ubuntu 10 + +button = new +button_icon = /tmp/jgmenu/flame-light.svg +button_max_icon_size = 22 +button_lclick_command= jgmenu_run lx diff --git a/home/.config/tint2/tint2rc b/home/.config/tint2/tint2rc index 7f47586c..9ec48690 100755 --- a/home/.config/tint2/tint2rc +++ b/home/.config/tint2/tint2rc @@ -70,7 +70,7 @@ border_color_pressed = #222222 90 #------------------------------------- # Panel -panel_items = LTBSC +panel_items = PLTSC panel_size = 100% 30 panel_margin = 0 0 panel_padding = 0 0 0 @@ -217,3 +217,8 @@ tooltip_padding = 2 2 tooltip_background_id = 6 tooltip_font_color = #d8d8d8 100 tooltip_font = Ubuntu 10 + +button = new +button_icon = /tmp/jgmenu/flame-light.svg +button_max_icon_size = 22 +button_lclick_command= jgmenu_run lx diff --git a/home/.gorice/templates/i3/acid-drop.yaml b/home/.gorice/templates/i3/acid-drop.yaml index 72f69255..365fdde3 100644 --- a/home/.gorice/templates/i3/acid-drop.yaml +++ b/home/.gorice/templates/i3/acid-drop.yaml @@ -5,7 +5,7 @@ terminal: foreground: "#EFEFEC" bold: "#EFEFEC" termbackground: "rgba(68,68,68,0.80)" - font: "Ubuntu Mono Nerd Font 10" + font: "Ubuntu Mono 10" colors: ["#212121", "#D50000", "#00C853", "#00B8D4", "#C6FF00", "#1DE9B6", "#AA00FF", "#BDBDBD", "#EEEEEE"] # colors 0=black 1=red 2=green 3=yellow 4=blue 5=purple 6=cyan 7=grey 8=white @@ -16,15 +16,17 @@ border: bottom: 0 color: "#444444" + gap: inner: 10 outer: 5 + bar: height: 22 width: "100%" radius: 3 bottom: "false" background: "#e1444444" - font0: "xos4 Terminus:size=12:antialias=false;2" + font0: "xos4 Terminus:size=10:antialias=false;2" diff --git a/home/.gorice/templates/i3/adwaita-dark.yaml b/home/.gorice/templates/i3/adwaita-dark.yaml index 14a5bc8d..ebb369cc 100644 --- a/home/.gorice/templates/i3/adwaita-dark.yaml +++ b/home/.gorice/templates/i3/adwaita-dark.yaml @@ -5,7 +5,7 @@ terminal: foreground: "#F1F1F1" bold: "#A9A9A9" termbackground: "rgba(33,33,33,0.80)" - font: "Ubuntu Mono Nerd Font 10" + font: "Ubuntu Mono 10" colors: ["#494949", "#D64937", "#19BC9C", "#FFFE5D", "#4E88CF", "#AF86C8", "#5DD5FF", "#969896", "#F6F6F6"] # colors 0=black 1=red 2=green 3=yellow 4=blue 5=purple 6=cyan 7=grey 8=white @@ -16,10 +16,12 @@ border: bottom: 0 color: "#F1F1F1" + gap: inner: 15 outer: 0 + bar: height: 24 width: "100%" diff --git a/home/.gorice/templates/i3/adwaita.yaml b/home/.gorice/templates/i3/adwaita.yaml index ba659353..b0b07486 100644 --- a/home/.gorice/templates/i3/adwaita.yaml +++ b/home/.gorice/templates/i3/adwaita.yaml @@ -5,7 +5,7 @@ terminal: foreground: "#1D1D1D" bold: "#A9A9A9" termbackground: "rgba(250,250,250,0.80)" - font: "Ubuntu Mono Nerd Font 10" + font: "Ubuntu Mono 10" colors: ["#000000", "#D64937", "#19BC9C", "#919640", "#4E88CF", "#AF86C8", "#5DD5FF", "#969896", "#AFDCE4"] # colors 0=black 1=red 2=green 3=yellow 4=blue 5=purple 6=cyan 7=grey 8=white diff --git a/home/.gorice/templates/i3/archlabs.yaml b/home/.gorice/templates/i3/archlabs.yaml index 0490d43e..127c74a5 100644 --- a/home/.gorice/templates/i3/archlabs.yaml +++ b/home/.gorice/templates/i3/archlabs.yaml @@ -5,7 +5,7 @@ terminal: foreground: "#c0c5ce" bold: "#c0c5ce" termbackground: "rgba(43,48,59,0.80)" - font: "Ubuntu Mono Nerd Font 10" + font: "Ubuntu Mono 10" colors: ["#2b303b", "#bf616a", "#a3be8c", "#ebcb8b", "#8fa1b3", "#b48ead", "#96b5b4", "#65737e", "#F6F6F6"] # colors 0=black 1=red 2=green 3=yellow 4=blue 5=purple 6=cyan 7=grey 8=white diff --git a/home/.gorice/templates/i3/blue.yaml b/home/.gorice/templates/i3/blue.yaml index 6da3365b..ca511a63 100644 --- a/home/.gorice/templates/i3/blue.yaml +++ b/home/.gorice/templates/i3/blue.yaml @@ -5,7 +5,7 @@ terminal: foreground: "#baacc5" bold: "#4c5068" termbackground: "rgba(102,102,102,0.80)" - font: "Ubuntu Mono Nerd Font 10" + font: "Ubuntu Mono 10" colors: ["#323c51", "#a67070", "#88977c", "#de935f", "#6b96a7", "#553e62", "#5d817d", "#8e8e86", "#b3cbc9"] # colors 0=black 1=red 2=green 3=yellow 4=blue 5=purple 6=cyan 7=grey 8=white @@ -28,5 +28,5 @@ bar: radius: 0 bottom: "false" background: "#e1666666" - font0: "xos4 Terminus:size=12:antialias=false;2" + font0: "xos4 Terminus:size=10:antialias=false;2" diff --git a/home/.gorice/templates/i3/float.yaml b/home/.gorice/templates/i3/float.yaml index 9417ac59..dd6d1385 100644 --- a/home/.gorice/templates/i3/float.yaml +++ b/home/.gorice/templates/i3/float.yaml @@ -5,7 +5,7 @@ terminal: foreground: "#131313" bold: "#A9A9A9" termbackground: "rgba(240,240,240,0.80)" - font: "Ubuntu Mono Nerd Font 10" + font: "Ubuntu Mono 10" colors: ["#494949", "#E64141", "#19BC9C", "#FFFE5D", "#1793D1", "#AF86C8", "#5DD5FF", "#969896", "#F6F6F6"] # colors 0=black 1=red 2=green 3=yellow 4=blue 5=purple 6=cyan 7=grey 8=white diff --git a/home/.gorice/templates/i3/floral.yaml b/home/.gorice/templates/i3/floral.yaml index fd93f0d2..ec2cee3f 100644 --- a/home/.gorice/templates/i3/floral.yaml +++ b/home/.gorice/templates/i3/floral.yaml @@ -5,7 +5,7 @@ terminal: foreground: "#ccccce" bold: "#ccccce" termbackground: "rgba(13,13,27,0.95)" - font: "Ubuntu Mono Nerd Font 10" + font: "Ubuntu Mono 10" colors: ["#282828", "#ca1444", "#789aba", "#94469b", "#cb6fa1", "#fb6e93", "#cf98c1", "#98218e", "#ebdbb2"] # colors 0=black 1=red 2=green 3=yellow 4=blue 5=purple 6=cyan 7=grey 8=white @@ -28,5 +28,5 @@ bar: radius: 0 bottom: "false" background: "#e10d0d1b" - font0: "xos4 Terminus:size=12:antialias=false;2" + font0: "xos4 Terminus:size=10:antialias=false;2" diff --git a/home/.gorice/templates/i3/green-devil.yaml b/home/.gorice/templates/i3/green-devil.yaml index c8a31c5a..e89b9992 100644 --- a/home/.gorice/templates/i3/green-devil.yaml +++ b/home/.gorice/templates/i3/green-devil.yaml @@ -5,7 +5,7 @@ terminal: foreground: "#ffffff" bold: "#c5c8c6" termbackground: "rgba(10,10,10,0.80)" - font: "Ubuntu Mono Nerd Font 10" + font: "Ubuntu Mono 10" colors: ["#191919", "#001122", "#384a5b", "#556677", "#113322", "#446655", "#5e8d87", "#b7b7b7", "#ffffff"] # colors 0=black 1=red 2=green 3=yellow 4=blue 5=purple 6=cyan 7=grey 8=white diff --git a/home/.gorice/templates/i3/grey-sky.yaml b/home/.gorice/templates/i3/grey-sky.yaml index 9336458b..f14b6f6f 100644 --- a/home/.gorice/templates/i3/grey-sky.yaml +++ b/home/.gorice/templates/i3/grey-sky.yaml @@ -5,7 +5,7 @@ terminal: foreground: "#F6F6F6" bold: "#A9A9A9" termbackground: "rgba(28,21,28,0.80)" - font: "Ubuntu Mono Nerd Font 10" + font: "Ubuntu Mono 10" colors: ["#1C151C", "#96B8D2", "#A4BDD2", "#9EC1D7", "#849AAB", "#B7D1E4", "#D2D9DD", "#666666", "#F6F6F6"] # colors 0=black 1=red 2=green 3=yellow 4=blue 5=purple 6=cyan 7=grey 8=white @@ -28,5 +28,5 @@ bar: radius: 0 bottom: "false" background: "#ED1C151C" - font0: "xos4 Terminus:size=12:antialias=false;2" + font0: "xos4 Terminus:size=10:antialias=false;2" diff --git a/home/.gorice/templates/i3/kraken.yaml b/home/.gorice/templates/i3/kraken.yaml index d5758e94..810949ee 100644 --- a/home/.gorice/templates/i3/kraken.yaml +++ b/home/.gorice/templates/i3/kraken.yaml @@ -5,7 +5,7 @@ terminal: foreground: "#c5c8c6" bold: "#A9A9A9" termbackground: "rgba(64,69,82,0.80)" - font: "Ubuntu Mono Nerd Font 10" + font: "Ubuntu Mono 10" colors: ["#3f3f3f", "#705050", "#E4B928", "#F0DFAF", "#506070", "#DC8CC3", "#298FEA", "#DCDCCC", "#F6F6F6"] # colors 0=black 1=red 2=green 3=yellow 4=blue 5=purple 6=cyan 7=grey 8=white @@ -28,5 +28,5 @@ bar: radius: 0 bottom: "false" background: "#ED404552" - font0: "xos4 Terminus:size=12:antialias=false;2" + font0: "xos4 Terminus:size=10:antialias=false;2" diff --git a/home/.gorice/templates/i3/mono.yaml b/home/.gorice/templates/i3/mono.yaml index a949df83..37e838b7 100644 --- a/home/.gorice/templates/i3/mono.yaml +++ b/home/.gorice/templates/i3/mono.yaml @@ -5,7 +5,7 @@ terminal: foreground: "#bcbcbc" bold: "#EEEEEC" termbackground: "rgba(0,0,0,0.80)" - font: "Ubuntu Mono Nerd Font 10" + font: "Ubuntu Mono 10" colors: ["#292929", "#494949", "#696969", "#B3B3B3", "#898989", "#595959", "#969696", "#D7D7D7", "#EEEEEC"] # colors 0=black 1=red 2=green 3=yellow 4=blue 5=purple 6=cyan 7=grey 8=white @@ -28,5 +28,5 @@ bar: radius: 0 bottom: "false" background: "#e1000000" - font0: "xos4 Terminus:size=12:antialias=false;2" + font0: "xos4 Terminus:size=10:antialias=false;2" diff --git a/home/.gorice/templates/i3/neon.yaml b/home/.gorice/templates/i3/neon.yaml index f3456b0f..0e49f611 100644 --- a/home/.gorice/templates/i3/neon.yaml +++ b/home/.gorice/templates/i3/neon.yaml @@ -5,7 +5,7 @@ terminal: foreground: "#27FCFD" bold: "#A9A9A9" termbackground: "rgba(35,30,53,0.80)" - font: "Ubuntu Mono Nerd Font 10" + font: "Ubuntu Mono 10" colors: ["#231e35", "#F20390", "#1CE190", "#FDEE7B", "#27FCFD", "#8039A0", "#AFDCE4", "#969896", "#902049"] # colors 0=black 1=red 2=green 3=yellow 4=blue 5=purple 6=cyan 7=grey 8=white @@ -28,5 +28,5 @@ bar: radius: 0 bottom: "false" background: "#231e35" - font0: "xos4 Terminus:size=12:antialias=false;2" + font0: "xos4 Terminus:size=10:antialias=false;2" diff --git a/home/.gorice/templates/i3/red-baron.yaml b/home/.gorice/templates/i3/red-baron.yaml index 74bb0adc..5d233a05 100644 --- a/home/.gorice/templates/i3/red-baron.yaml +++ b/home/.gorice/templates/i3/red-baron.yaml @@ -5,7 +5,7 @@ terminal: foreground: "#ffffff" bold: "#ffffff" termbackground: "rgba(16,16,16,0.95)" - font: "Ubuntu Mono Nerd Font 10" + font: "Ubuntu Mono 10" colors: ["#262626", "#830E0C", "#A72B28", "#C64B48", "#ED7C79", "#FFABA9", "#FF5B6C", "#616161", "#EAEAEA"] # colors 0=black 1=red 2=green 3=yellow 4=blue 5=purple 6=cyan 7=grey 8=white @@ -28,5 +28,5 @@ bar: radius: 0 bottom: "false" background: "#e1101010" - font0: "xos4 Terminus:size=12:antialias=false;2" + font0: "xos4 Terminus:size=10:antialias=false;2" diff --git a/home/.gorice/templates/i3/reload.sh b/home/.gorice/templates/i3/reload.sh index eab464f7..4adf2506 100755 --- a/home/.gorice/templates/i3/reload.sh +++ b/home/.gorice/templates/i3/reload.sh @@ -1,7 +1,7 @@ al-compositor --restart pkill dunst xrdb ~/.Xresources -launch-polybar --reload +start-polybar --reload i3-msg restart sleep 0.5 diff --git a/home/.gorice/templates/i3/reload.sh.template b/home/.gorice/templates/i3/reload.sh.template index 2adf8b81..5bfda84c 100644 --- a/home/.gorice/templates/i3/reload.sh.template +++ b/home/.gorice/templates/i3/reload.sh.template @@ -1,7 +1,7 @@ al-compositor --restart pkill dunst xrdb ~/.Xresources -launch-polybar --reload +start-polybar --reload i3-msg restart sleep 0.5 diff --git a/home/.gorice/templates/i3/yasukue.yaml b/home/.gorice/templates/i3/yasukue.yaml index 70071f10..5908fe68 100644 --- a/home/.gorice/templates/i3/yasukue.yaml +++ b/home/.gorice/templates/i3/yasukue.yaml @@ -5,7 +5,7 @@ terminal: foreground: "#FFF1FF" bold: "#FFF1FF" termbackground: "rgba(25,4,60,0.80)" - font: "Ubuntu Mono Nerd Font 9" + font: "Ubuntu Mono 9" colors: ["#19043C", "#EE79A9", "#8C9440", "#DE935F", "#05C6F1", "#85678F", "#5E8D87", "#969CD3", "#ED5181"] # colors 0=black 1=red 2=green 3=yellow 4=blue 5=purple 6=cyan 7=grey 8=white diff --git a/home/bin/check-network b/home/bin/check-network index 58638b64..0a13d2a4 100755 --- a/home/bin/check-network +++ b/home/bin/check-network @@ -4,7 +4,7 @@ connected="" disconnected="" while true; do if ping -c1 8.8.8.8 >/dev/null; then - echo "$connected"; sleep 5 + echo "$connected"; sleep 10 else echo "$disconnected"; sleep 1 echo "$connected"; sleep 1 diff --git a/home/bin/trash b/home/bin/polybar-trash similarity index 100% rename from home/bin/trash rename to home/bin/polybar-trash diff --git a/home/bin/rofi-gorice b/home/bin/rofi-gorice index 6f1a38b0..924b9ce9 100755 --- a/home/bin/rofi-gorice +++ b/home/bin/rofi-gorice @@ -1,2 +1,3 @@ #!/bin/bash -rofi -no-config -modi run,drun,window -show drun -eh 1 -width 50 -padding 30 -sidebar-mode -font "Ubuntu Light 11" -color-enabled -color-window "#2b303b, #8fa1b3, #2b303b" -color-normal "#2b303b, #8fa1b3, #2b303b, #8fa1b3, #2b303b" + +rofi -no-config -modi run,drun,window -show drun -eh 1 -line-padding 4 -padding 50 -sidebar-mode -font "Ubuntu 11" -color-enabled -color-window "#2b303b, #8fa1b3, #2b303b" -color-normal "#2b303b, #8fa1b3, #2b303b, #8fa1b3, #2b303b" diff --git a/home/bin/rofi-gorice.template b/home/bin/rofi-gorice.template index 804a1640..4d65bfde 100644 --- a/home/bin/rofi-gorice.template +++ b/home/bin/rofi-gorice.template @@ -1,2 +1,3 @@ #!/bin/bash -rofi -no-config -modi run,drun,window -show drun -eh 1 -width 50 -padding 30 -sidebar-mode -font "Ubuntu Light 11" -color-enabled -color-window "{{.Data.terminal_background}}, {{index .Data.terminal_colors 4}}, {{.Data.terminal_background}}" -color-normal "{{.Data.terminal_background}}, {{index .Data.terminal_colors 4}}, {{.Data.terminal_background}}, {{index .Data.terminal_colors 4}}, {{.Data.terminal_background}}" + +rofi -no-config -modi run,drun,window -show drun -eh 1 -line-padding 4 -padding 50 -sidebar-mode -font "Ubuntu 11" -color-enabled -color-window "{{.Data.terminal_background}}, {{index .Data.terminal_colors 4}}, {{.Data.terminal_background}}" -color-normal "{{.Data.terminal_background}}, {{index .Data.terminal_colors 4}}, {{.Data.terminal_background}}, {{index .Data.terminal_colors 4}}, {{.Data.terminal_background}}" diff --git a/home/bin/rofi-logout b/home/bin/rofi-logout index b21a92e2..587646d4 100755 --- a/home/bin/rofi-logout +++ b/home/bin/rofi-logout @@ -2,7 +2,7 @@ CUR_WM=$(xprop -root | grep "_NET_WM_NAME(UTF8_STRING)" | cut -d " " -f 3 | sed 's/"//g' | awk '{print tolower($0)}') -ANS=$(echo " lock| logout| reboot| shutdown" | rofi -sep "|" -dmenu -i -p 'System: ' "" -width 20 -hide-scrollbar -location 0 -yoffset -200 -font "Ubuntu 11" -eh 1 -line-padding 2 -padding 30 -no-config -lines 4 -color-enabled -color-window "#1F2326, #F1F1F1, #1F2326" -color-normal "#1F2326, #F1F1F1, #1F2326, #4E88CF, #1F2326") +ANS=$(echo " lock| logout| reboot| shutdown" | rofi -sep "|" -dmenu -i -p 'System: ' "" -width 20 -hide-scrollbar -font "Ubuntu 11" -eh 1 -line-padding 4 -padding 20 -no-config -lines 4 -color-enabled -color-window "#1F2326, #F1F1F1, #1F2326" -color-normal "#1F2326, #F1F1F1, #1F2326, #4E88CF, #1F2326") if [[ "$ANS" == *lock ]]; then i3lock-fancy @@ -15,7 +15,7 @@ elif [[ "$ANS" == *logout ]]; then done killall sxhkd bspc quit - elif [[ "$CUR_WM" == "bspwm" ]]; then + elif [[ "$CUR_WM" == "openbox" ]]; then openbox --exit else echo "Unknown WM... Exiting" diff --git a/home/bin/rofi-logout.template b/home/bin/rofi-logout.template index ce62c979..f7b9465b 100644 --- a/home/bin/rofi-logout.template +++ b/home/bin/rofi-logout.template @@ -2,7 +2,7 @@ CUR_WM=$(xprop -root | grep "_NET_WM_NAME(UTF8_STRING)" | cut -d " " -f 3 | sed 's/"//g' | awk '{print tolower($0)}') -ANS=$(echo " lock| logout| reboot| shutdown" | rofi -sep "|" -dmenu -i -p 'System: ' "" -width 20 -hide-scrollbar -location 0 -yoffset -200 -font "Ubuntu 11" -eh 1 -line-padding 4 -padding 30 -no-config -lines 4 -color-enabled -color-window "{{.Data.terminal_background}}, {{.Data.terminal_foreground}}, {{.Data.terminal_background}}" -color-normal "{{.Data.terminal_background}}, {{.Data.terminal_foreground}}, {{.Data.terminal_background}}, {{index .Data.terminal_colors 4}}, {{.Data.terminal_background}}") +ANS=$(echo " lock| logout| reboot| shutdown" | rofi -sep "|" -dmenu -i -p 'System: ' "" -width 20 -hide-scrollbar -font "Ubuntu 11" -eh 1 -line-padding 4 -padding 20 -no-config -lines 4 -color-enabled -color-window "{{.Data.terminal_background}}, {{.Data.terminal_foreground}}, {{.Data.terminal_background}}" -color-normal "{{.Data.terminal_background}}, {{.Data.terminal_foreground}}, {{.Data.terminal_background}}, {{index .Data.terminal_colors 4}}, {{.Data.terminal_background}}") if [[ "$ANS" == *lock ]]; then i3lock-fancy @@ -15,7 +15,7 @@ elif [[ "$ANS" == *logout ]]; then done killall sxhkd bspc quit - elif [[ "$CUR_WM" == "bspwm" ]]; then + elif [[ "$CUR_WM" == "openbox" ]]; then openbox --exit else echo "Unknown WM... Exiting" diff --git a/home/bin/launch-polybar b/home/bin/start-polybar similarity index 100% rename from home/bin/launch-polybar rename to home/bin/start-polybar diff --git a/home/bin/killbar b/home/bin/stop-polybar similarity index 100% rename from home/bin/killbar rename to home/bin/stop-polybar