diff --git a/etc/oblogout.conf b/etc/oblogout.conf index b23dbb50..f62a06b2 100644 --- a/etc/oblogout.conf +++ b/etc/oblogout.conf @@ -20,7 +20,7 @@ lock = K shutdown = systemctl poweroff restart = systemctl reboot suspend = systemctl suspend -logout = openbox --exit +logout = session-logout #hibernate = systemctl hibernate lock = pkill oblogout; i3lock-fancy -p #switchuser = gdm-control --switch-user diff --git a/home/.config/compton.conf b/home/.config/compton.conf index 95a918c6..451c38d6 100644 --- a/home/.config/compton.conf +++ b/home/.config/compton.conf @@ -12,14 +12,17 @@ shadow-ignore-shaped = true; # Opacity menu-opacity = 1.0; inactive-opacity = 1.0; +active-opacity = 1.0; inactive-opacity-override = false; -alpha-step = 0.06; # Fade fading = true; -fade-delta = 8; +fade-delta = 10; fade-in-step = 0.03; fade-out-step = 0.028; +alpha-step = 0.06; +no-fading-openclose = true; +no-fading-destroyed-argb = false; # Backend backend = "xrender"; @@ -37,33 +40,33 @@ detect-client-leader = true; # GLX backend glx-no-stencil = true; glx-no-rebind-pixmap = true; -#glx-copy-from-front = false; +#glx-copy-from-front = false; #glx-use-copysubbuffermesa = true; -#glx-swap-method = "undefined"; -#glx-use-gpushader4 = true; -#xrender-sync = true; -#xrender-sync-fence = true; +#glx-swap-method = "undefined"; +#glx-use-gpushader4 = true; +#xrender-sync = true; +#xrender-sync-fence = true; -opacity-rule = [ - "85:class_g = 'XTerm'", +opacity-rule = [ + "85:class_g = 'XTerm'", "0:_NET_WM_STATE@:32a * = '_NET_WM_STATE_HIDDEN'" ]; -shadow-exclude = [ - "name *? = 'Notification'", - "class_g *? = 'VirtualBox'", - "class_g *? = 'Conky'", - "class_g ? = 'Notify-osd'", - "class_g ? = 'cairo-dock'", - "class_g *? = 'trayer'", - "class_g *? = 'i3-frame'", - "class_g *? = 'firefox'", - "class_g *? = 'navigator'", - "class_g *? = 'Cairo-clock'", - "class_g *? = 'Cairo-dock'", - "class_g *? = 'plank'", - "class_g *? = 'Docky'", - "_NET_WM_STATE@:32a * = '_NET_WM_STATE_HIDDEN'", +shadow-exclude = [ + "name *?= 'Notification'", + "class_g *?= 'VirtualBox'", + "class_g *?= 'Conky'", + "class_g *?= 'Notify-osd'", + "class_g *?= 'cairo-dock'", + "class_g *?= 'trayer'", + "class_g *?= 'i3-frame'", + "class_g *?= 'firefox'", + "class_g *?= 'navigator'", + "class_g *?= 'Cairo-clock'", + "class_g *?= 'Cairo-dock'", + "class_g *?= 'plank'", + "class_g *?= 'Docky'", + "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", "_GTK_FRAME_EXTENTS@:c" ]; #"85:class_g *?= 'xterm'", @@ -74,12 +77,12 @@ shadow-exclude = [ #"99:class_g *?= 'qutebrowser'", #"99:class_g *?= 'mpv'", -focus-exclude = [ - "class_g *? = 'Cairo-clock'", - "class_g *? = 'Virtualbox'", - "class_g *? = 'trayer'", - "_NET_WM_STATE@:32a * = '_NET_WM_STATE_HIDDEN'", - "name *? = 'Authy'" +focus-exclude = [ + "class_g *?= 'Cairo-clock'", + "class_g *?= 'Virtualbox'", + "class_g *?= 'trayer'", + "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", + "name *?= 'Authy'" ]; #"class_g *?= 'steam'", #"class_g *?= 'chrome'", @@ -87,14 +90,14 @@ focus-exclude = [ #"class_g *?= 'qutebrowser'", #"class_g *?= 'mpv'", -invert-color-include = [ +invert-color-include = [ ]; -fade-exclude = [ +fade-exclude = [ ]; # Window type settings wintypes: { - tooltip = { fade = true; shadow = true; focus = true; }; + tooltip = { fade = true; shadow = true; focus = true; }; }; diff --git a/home/.config/dunst/dunstrc b/home/.config/dunst/dunstrc index 3550c88a..7a0b061b 100755 --- a/home/.config/dunst/dunstrc +++ b/home/.config/dunst/dunstrc @@ -21,7 +21,7 @@ line_height = 0 separator_height = 2 padding = 10 - horizontal_padding = 10 + horizontal_padding = 20 frame_color = "#c0c5ce" separator_color = frame frame_width = 1 diff --git a/home/.config/dunst/dunstrc.template b/home/.config/dunst/dunstrc.template index 8d432fa5..545e454c 100644 --- a/home/.config/dunst/dunstrc.template +++ b/home/.config/dunst/dunstrc.template @@ -21,7 +21,7 @@ line_height = 0 separator_height = 2 padding = 10 - horizontal_padding = 10 + horizontal_padding = 20 frame_color = "{{.Data.border_color}}" separator_color = frame frame_width = 1 diff --git a/home/.config/i3/config b/home/.config/i3/config index c46e4dd5..516a0481 100644 --- a/home/.config/i3/config +++ b/home/.config/i3/config @@ -33,12 +33,12 @@ client.urgent $red $bg $red $red $red client.placeholder $grey $bg $bg $bg $bg client.background $bg -# border & title +# border & title.. Must be set to border pixel for gaps to work for_window [class="^.*"] border pixel 2, title_format " %class >> %title " # gaps gaps inner 15 -gaps outer 0 +gaps outer 5 # font font pango:Ubuntu 11 @@ -99,7 +99,9 @@ bindsym Mod1+q kill # launchers bindsym Control+space exec --no-startup-id rofi-gorice -bindsym Mod1+F1 exec --no-startup-id rofi-gorice + +# this is needed for super key to launch rofi +bindsym Mod1+F1 exec --no-startup-id rofi-gorice # core bindsym $Mod+e exec --no-startup-id al-open -edit @@ -245,10 +247,10 @@ bindsym $Mod+y border 1pixel bindsym $Mod+u border none # change gaps -bindsym $Mod+plus gaps outer current plus 5 -bindsym $Mod+minus gaps outer current minus 5 -bindsym $Mod+Shift+plus gaps inner current plus 5 -bindsym $Mod+Shift+minus gaps inner current minus 5 +bindsym $Mod+plus gaps inner current plus 5 +bindsym $Mod+minus gaps inner current minus 5 +bindsym $Mod+Shift+plus gaps outer current plus 5 +bindsym $Mod+Shift+minus gaps outer current minus 5 bindsym $Mod+Control+plus gaps inner all plus 5 bindsym $Mod+Control+minus gaps inner all minus 5 diff --git a/home/.config/jgmenu/jgmenurc b/home/.config/jgmenu/jgmenurc index 66e5db3d..ba7c949c 100644 --- a/home/.config/jgmenu/jgmenurc +++ b/home/.config/jgmenu/jgmenurc @@ -7,22 +7,23 @@ tint2_look = 1 menu_halign = left menu_valign = top -menu_margin_x = 0 -menu_margin_y = 25 +menu_margin_x = 5 +menu_margin_y = 30 menu_width = 200 -menu_radius = 2 +menu_radius = 0 menu_border = 1 -menu_padding_top = 8 -menu_padding_right = 4 -menu_padding_bottom = 8 -menu_padding_left = 4 +menu_padding_top = 15 +menu_padding_right = 2 +menu_padding_bottom = 5 +menu_padding_left = 2 -item_height = 25 +item_height = 30 item_padding_x = 5 +item_margin_y = 5 item_radius = 0 -item_border = 1 +item_border = 0 sep_height = 5 icon_size = 24 @@ -32,3 +33,10 @@ sub_hover_action = 1 terminal_exec = termite terminal_args = -e +color_menu_bg = #2b303b 100 +color_menu_fg = #8fa1b3 100 +color_norm_bg = #2b303b 0 +color_norm_fg = #8fa1b3 100 +color_sel_bg = #8fa1b3 60 +color_sel_fg = #2b303b 100 +color_sep_fg = #8fa1b3 40 diff --git a/home/.config/keypack b/home/.config/keypack index caa74610..b5e875f7 100755 --- a/home/.config/keypack +++ b/home/.config/keypack @@ -7,6 +7,7 @@ do_setup() { KEYS=('AEFB411B072836CD48FF0381AE252C284B5DBA5D' '9E4F11C6A072942A7B3FD3B0B81EB14A09A25EB0' '35F52A02854DCCAEC9DD5CC410443C7F54B00041') + sudo dirmngr ['settings', 'Settings', 'gnome-settings']}, {cat => ['system', 'System', 'applications-system']}, {sep => undef}, - {pipe => ['al-places-pipemenu', 'Places', 'folder']}, - {pipe => ['al-recent-files-pipemenu', 'Recent Files', 'folder-recent']}, + {pipe => ['al-places-pipemenu --recent ~/', 'Places', 'folder']}, {sep => undef}, {begin_cat => ['Preferences', 'theme']}, {begin_cat => ['Openbox', 'openbox']}, diff --git a/home/.config/openbox/autostart b/home/.config/openbox/autostart index 3caf8e2a..fcc7b911 100755 --- a/home/.config/openbox/autostart +++ b/home/.config/openbox/autostart @@ -1,18 +1,21 @@ -# launch compton +# launch compton if enabled al-compositor --start & $HOME/.config/setup & +# enable numlock, comment out if you dont have a numpad +numlockx on & # restore wallpaper nitrogen --restore & -# enable numlock -numlockx on & - -# panel +# start tint2 if enabled al-tint2-session & + +# start polybar if tint2 not enabled (start after al-tint-session) sleep 1; start-polybar & -sleep 1; trayer --edge bottom --align left --heighttype pixel --height 22 --widthtype request --SetDockType true --expand true --transparent true --alpha 255 + +# system tray +sleep 1; trayer --edge bottom --align left --widthtype request --SetDockType false --expand true & # Openbox autostart ob-autostart -d & @@ -20,7 +23,7 @@ ob-autostart -d & # PolicyKit authentication lxpolkit & -# Required for xfce setting to work +# Required for xfce settings to work xfsettingsd & # Launch conky if session exists diff --git a/home/.config/openbox/menu.xml b/home/.config/openbox/menu.xml index 0bb5a4f7..f0f35404 100644 --- a/home/.config/openbox/menu.xml +++ b/home/.config/openbox/menu.xml @@ -75,8 +75,7 @@ - - + diff --git a/home/.config/polybar/config b/home/.config/polybar/config index bbd6d971..7ea20bdb 100755 --- a/home/.config/polybar/config +++ b/home/.config/polybar/config @@ -18,7 +18,7 @@ inherit = bar/master monitor = modules-left = jgmenu config workspaces -modules-center = clock window_switch +modules-center = window_switch clock modules-right = pkg memory temperature coreuse network volume ; All available modules (some require configuration in modules.conf) diff --git a/home/.config/polybar/modules.conf b/home/.config/polybar/modules.conf index 1abef9e0..00ee7305 100644 --- a/home/.config/polybar/modules.conf +++ b/home/.config/polybar/modules.conf @@ -10,7 +10,7 @@ type = custom/script label = %output% label-padding = 1 interval = 10 -exec = echo "MENU" +exec = echo "Menu" click-left = jgmenu_run lx click-right = exo-open $HOME/.config/jgmenu/jgmenurc @@ -22,11 +22,11 @@ click-right = exo-open $HOME/.config/jgmenu/jgmenurc type = custom/script interval = 5 label = %output% -format-padding = 2 +format-padding = 1 format =