diff --git a/home/.config/i3/config b/home/.config/i3/config index 5a40c641..39e2bd8a 100644 --- a/home/.config/i3/config +++ b/home/.config/i3/config @@ -42,10 +42,6 @@ gaps outer 5 # font font pango:Roboto 11 - -#### Set -## - # $Mod = Super or Alt? set $Mod Mod4 #set $Mod Mod1 @@ -69,33 +65,33 @@ set $WS8 "8: " set $Mon1 HDMI1 set $Mon2 HDMI2 -#################################################################################################### -################# Autostart ################## -#################################################################################################### +##################################################### +############### Autostart ################## +##################################################### # run with reload -exec_always --no-startup-id start-compton exec_always --no-startup-id al-polybar-session exec_always --no-startup-id nitrogen --restore exec_always --no-startup-id xrdb -load ~/.Xresources # Trayer exec_always --no-startup-id pkill trayer; trayer --edge bottom \ - --align left --heighttype pixel --height 18 --widthtype request \ - --SetDockType false --expand true --transparent true --alpha 255 + --align left --heighttype pixel --height 18 --widthtype request \ + --SetDockType false --expand true --transparent true --alpha 255 # If you have a numpad you may want to enable this # exec_always --no-startup-id numlockx on # run once -exec --no-startup-id xfsettingsd exec --no-startup-id ksuperkey -e 'Super_L=Alt_L|F1' +exec --no-startup-id al-compositor --start exec --no-startup-id nitrogen --restore +exec --no-startup-id xfsettingsd exec --no-startup-id lxpolkit -#################################################################################################### -################# Bindings ################## -#################################################################################################### +########################################################### +############# Bindings ################## +########################################################### # kill focused window bindsym $Mod+Shift+q kill @@ -113,13 +109,13 @@ bindsym $Mod+t exec exo-open --launch TerminalEmulator bindsym $Mod+w exec exo-open --launch WebBrowser bindsym $Mod+f exec exo-open --launch FileManager -# logout +# logout script bindsym $Mod+x exec --no-startup-id rofr.sh -l -# long command broken into multiple lines +# Screenshot bindsym Print exec --no-startup-id "scrot '%S.png' \ --e 'mv $f $$(xdg-user-dir PICTURES)/ArchLabs-%S-$wx$h.png \ -; gpicview $$(xdg-user-dir PICTURES)/ArchLabs-%S-$wx$h.png'" + -e 'mv $f $$(xdg-user-dir PICTURES)/ArchLabs-%S-$wx$h.png \ + ; gpicview $$(xdg-user-dir PICTURES)/ArchLabs-%S-$wx$h.png'" # audio bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause @@ -129,12 +125,14 @@ bindsym XF86AudioStop exec --no-startup-id playerctl stop bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer -i 2 bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 2 bindsym XF86AudioMute exec --no-startup-id pamixer -t + +# backlight bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10 bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 10 -#################################################################################################### -################# Workspace Bindings ################# -#################################################################################################### +################################################################ +########### Workspace Bindings ############### +################################################################ # workspace assignment workspace $WS1 output $Mon1 @@ -166,9 +164,9 @@ bindsym $Mod+Shift+6 move container to workspace $WS6; workspace $WS6 bindsym $Mod+Shift+7 move container to workspace $WS7; workspace $WS7 bindsym $Mod+Shift+8 move container to workspace $WS8; workspace $WS8 -#################################################################################################### -################# Reload configs ################# -#################################################################################################### +############################################################ +############## Reload configs ################ +############################################################ # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) bindsym $Mod+Shift+r restart @@ -176,9 +174,9 @@ bindsym $Mod+Shift+r restart # reload the configuration file bindsym $Mod+Shift+c reload -#################################################################################################### -################ Container/Window control ################## -#################################################################################################### +######################################################## +############ Container/Window control ############ +######################################################## # Scratchpad, Floating bindsym $Mod+Shift+space floating toggle @@ -233,9 +231,9 @@ bindsym $Mod+Shift+s layout stacking bindsym $Mod+Shift+h layout toggle split default_orientation horizontal -#################################################################################################### -################# Border & Gaps ################# -#################################################################################################### +###################################################### +############### Border & Gaps ############### +###################################################### new_window normal new_float normal @@ -243,25 +241,24 @@ hide_edge_borders both popup_during_fullscreen smart bindsym $Mod+shift+b border toggle -#changing border style +# changing border style bindsym $Mod+n border normal bindsym $Mod+y border 1pixel bindsym $Mod+u border none # change gaps -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+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 bindsym $Mod+Control+Shift+plus gaps outer all plus 5 bindsym $Mod+Control+Shift+minus gaps outer all minus 5 - -#################################################################################################### -################# application settings ################# -#################################################################################################### +################################################### +############ application settings ############ +################################################### for_window [class="(?i)(?:qt5ct|pinentry)"] floating enable, focus for_window [class="(?i)(?:termite|thunar)"] focus @@ -279,4 +276,3 @@ for_window [window_role="(?i)(?:pop-up|setup)"] floating enable # set trayer to be borderless for_window [class="(?i)trayer"] border pixel 0 - diff --git a/home/.config/openbox/menu-pipe.xml b/home/.config/openbox/menu-pipe.xml index 8651cd2f..a1a4d46d 100644 --- a/home/.config/openbox/menu-pipe.xml +++ b/home/.config/openbox/menu-pipe.xml @@ -2,7 +2,7 @@ - + diff --git a/home/.config/openbox/menu-static.xml b/home/.config/openbox/menu-static.xml new file mode 100644 index 00000000..c31943ae --- /dev/null +++ b/home/.config/openbox/menu-static.xml @@ -0,0 +1,205 @@ + + + + + + + exo-open --launch TerminalEmulator + + + + + exo-open --launch WebBrowser + + + + + exo-open --launch FileManager + + + + + geany + + + + + + + galculator + + + + + file-roller + + + + + gpicview + + + + + + + scrot 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f' + + + + + scrot -d 5 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f' + + + + + scrot -d 10 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f' + + + + + scrot -s 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f' + + + + + + + audacious + + + + + mpv --player-operation-mode=pseudo-gui + + + + + + + + + + + obconf + + + + + kickshaw + + + + + obkey + + + + + ob-autostart + + + + + + exo-open ~/.config/openbox/menu.xml + + + + + exo-open ~/.config/openbox/rc.xml + + + + + exo-open ~/.config/openbox/autostart + + + + + + + + + + + + + + + + + al-panel-chooser + + + + + + xfce4-appearance-settings + + + + + nitrogen + + + + + rofi-theme-selector + + + + + + xfce4-settings-manager + + + + + pavucontrol + + + + + arandr + + + + + + + termite --exec=pacli + + + + + gksu thunar + + + + + gksu gparted + + + + + + + + + install-al + + + + + + i3lock-fancy -p + + + + + rofr.sh -l + + + + diff --git a/home/.config/openbox/menu.xml b/home/.config/openbox/menu.xml index c31943ae..c10b2a37 100644 --- a/home/.config/openbox/menu.xml +++ b/home/.config/openbox/menu.xml @@ -2,77 +2,45 @@ - - - exo-open --launch TerminalEmulator - - - - - exo-open --launch WebBrowser - - - - - exo-open --launch FileManager - - - - - geany - - + + + + - + + + + galculator - - - file-roller - - - - - gpicview - - - - - - - scrot 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f' - - - - - scrot -d 5 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f' - - - - - scrot -d 10 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f' - - - - - scrot -s 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f' - - - - - - - audacious - - - - - mpv --player-operation-mode=pseudo-gui - - + + + + + + + scrot 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f' + + + + + scrot -d 5 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f' + + + + + scrot -d 10 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f' + + + + + scrot -s 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f' + + + @@ -127,70 +95,11 @@ - - - al-panel-chooser - - - - - - xfce4-appearance-settings - - - - - nitrogen - - - - - rofi-theme-selector - - - - - - xfce4-settings-manager - - - - - pavucontrol - - - - - arandr - - - - - - - termite --exec=pacli - - - - - gksu thunar - - - - - gksu gparted - - + - - - install-al - - - i3lock-fancy -p diff --git a/home/.config/polybar/modules.conf b/home/.config/polybar/modules.conf index 8136744b..a0e552d8 100644 --- a/home/.config/polybar/modules.conf +++ b/home/.config/polybar/modules.conf @@ -56,28 +56,28 @@ label-empty-foreground = ${colors.foreground} ;; i3 Workspaces ;; ;;;;;;;;;;;;;;;;;;; [module/i3] -type = internal/i3 -pin-workspaces = true +type = internal/i3 +pin-workspaces = true strip-wsnumbers = true -index-sort = true -enable-click = true -fuzzy-match = true +index-sort = true +enable-click = true +fuzzy-match = true ws-icon-default =  -format = -label-mode = %mode% -label-mode-padding = 2 -label-focused = %index% %name% -label-focused-padding = 2 -label-unfocused = %index% %name% +format = +label-mode = %mode% +label-mode-padding = 2 +label-focused = %index% %name% +label-focused-padding = 2 +label-unfocused = %index% %name% label-unfocused-padding = 2 -label-visible = %index% %name% -label-visible-padding = 2 -label-urgent = %index% %name% -label-urgent-padding = 2 -label-mode-underline = ${colors.urgent} +label-visible = %index% %name% +label-visible-padding = 2 +label-urgent = %index% %name% +label-urgent-padding = 2 +label-mode-underline = ${colors.urgent} label-focused-underline = ${colors.trim} label-visible-underline = ${colors.trim} -label-urgent-underline = ${colors.urgent} +label-urgent-underline = ${colors.urgent} ;;;;;;;;;;;;;;;;;;;; @@ -104,37 +104,37 @@ ws-icon-7 = VIII; ws-icon-8 = IX; ws-icon-9 = X; ;ws-icon-default = ♟ -format = -label-monitor = %name% -label-mode-padding = 1 -label-focused = %icon% %name% -label-focused-padding = 1 -label-occupied = %icon% %name% -label-occupied-padding = 1 -label-urgent = %icon% %name% -label-urgent-padding = 1 -label-empty = %icon% %name% -label-empty-padding = 1 +format = +label-monitor = %name% +label-mode-padding = 1 +label-focused = %icon% %name% +label-focused-padding = 1 +label-occupied = %icon% %name% +label-occupied-padding = 1 +label-urgent = %icon% %name% +label-urgent-padding = 1 +label-empty = %icon% %name% +label-empty-padding = 1 label-dimmed-foreground = ${colors.purple} -label-dimmed-underline = ${colors.purple} +label-dimmed-underline = ${colors.purple} label-dimmed-focused-background = ${colors.purple} label-focused-foreground = ${colors.blue} -label-focused-underline = ${colors.blue} +label-focused-underline = ${colors.blue} label-occupied-underline = ${colors.purple} -label-urgent-foreground = ${colors.urgent} -label-urgent-underline = ${colors.urgent} +label-urgent-foreground = ${colors.urgent} +label-urgent-underline = ${colors.urgent} ; The following labels will be used to indicate the layout/mode ; for the focused workspace. Requires -label-monocle =  -label-tiled =  -label-fullscreen =  -label-floating =  +label-monocle =  +label-tiled =  +label-fullscreen =  +label-floating =  label-pseudotiled = P -label-locked =  -label-sticky =  -label-private =  -label-sticky-foreground = ${colors.purple} -label-locked-foreground = ${colors.yellow} +label-locked =  +label-sticky =  +label-private =  +label-sticky-foreground = ${colors.purple} +label-locked-foreground = ${colors.yellow} label-private-foreground = ${colors.urgent} @@ -305,49 +305,49 @@ animation-charging-framerate = 750 ;; MENU ;; ;;;;;;;;;; [module/menu] -type = custom/menu +type = custom/menu format-spacing = 1 -label-open = "  " -label-close = "  " -label-close-foreground = ${colors.urgent} +label-open = "  " +label-close = "  " +label-close-foreground = ${colors.urgent} label-separator = " | " # Top level -menu-0-0 = "  " -menu-0-0-exec = menu-open-1 -menu-0-1 = "  " -menu-0-1-exec = menu-open-2 -menu-0-2 = "  |" -menu-0-2-exec = menu-open-3 +menu-0-0 = "  " +menu-0-0-exec = menu-open-1 +menu-0-1 = "  " +menu-0-1-exec = menu-open-2 +menu-0-2 = "  |" +menu-0-2-exec = menu-open-3 # 1 -menu-1-0 = "  " -menu-1-0-exec = menu-open-0 +menu-1-0 = "  " +menu-1-0-exec = menu-open-0 menu-1-0-foreground = ${colors.urgent} -menu-1-1 = "  " -menu-1-1-exec = exo-open --launch WebBrowser -menu-1-2 = "  " -menu-1-2-exec = exo-open --launch TerminalEmulator -menu-1-3 = "  |" -menu-1-3-exec = exo-open --launch FileManager +menu-1-1 = "  " +menu-1-1-exec = exo-open --launch WebBrowser +menu-1-2 = "  " +menu-1-2-exec = exo-open --launch TerminalEmulator +menu-1-3 = "  |" +menu-1-3-exec = exo-open --launch FileManager # 2 -menu-2-0 = "  " -menu-2-0-exec = menu-open-0 +menu-2-0 = "  " +menu-2-0-exec = menu-open-0 menu-2-0-foreground = ${colors.urgent} -menu-2-1 = "  " -menu-2-1-exec = termite --exec=pacli & -menu-2-2 = "  " -menu-2-2-exec = xfce4-settings-manager & -menu-2-3 = "  |" -menu-2-3-exec = pavucontrol & +menu-2-1 = "  " +menu-2-1-exec = termite --exec=pacli & +menu-2-2 = "  " +menu-2-2-exec = xfce4-settings-manager & +menu-2-3 = "  |" +menu-2-3-exec = pavucontrol & # 3 -menu-3-0 = "  " -menu-3-0-exec = menu-open-0 +menu-3-0 = "  " +menu-3-0-exec = menu-open-0 menu-3-0-foreground = ${colors.urgent} -menu-3-1 = "  " -menu-3-1-exec = i3lock-fancy -p -f Ubuntu & -menu-3-2 = "  " -menu-3-2-exec = systemctl reboot -menu-3-3 = "  |" -menu-3-3-exec = systemctl poweroff +menu-3-1 = "  " +menu-3-1-exec = i3lock-fancy -p -f Ubuntu & +menu-3-2 = "  " +menu-3-2-exec = systemctl reboot +menu-3-3 = "  |" +menu-3-3-exec = systemctl poweroff ;;;;;;;;;;;;;;;;;;;; @@ -432,12 +432,12 @@ toggle-on-foreground = toggle-off-foreground = #55 bar-progress-width = 35 bar-progress-indicator = █ -bar-progress-fill = █ -bar-progress-empty = ▒ +bar-progress-fill = █ +bar-progress-empty = ▒ bar-progress-empty-font = 2 bar-progress-indicator-font = 2 bar-progress-fill-font = 2 -bar-progress-fill-foreground = #bb +bar-progress-fill-foreground = #bb bar-progress-empty-foreground = #44 bar-progress-indicator-foreground = #A85659 @@ -449,9 +449,9 @@ bar-progress-indicator-foreground = #A85659 type = internal/network interface = -format-connected = +format-connected = format-packetloss = -label-connected = " %local_ip% " +label-connected = " %local_ip% " ramp-signal-0 =  ramp-signal-1 =  ramp-signal-2 =  @@ -468,7 +468,7 @@ animation-packetloss-0 = ⚠ animation-packetloss-1 = 📶 animation-packetloss-0-foreground = #ffa64c animation-packetloss-1-foreground = #000000 -animation-packetloss-framerate = 500 +animation-packetloss-framerate = 500 ;;;;;;;;;;;;;;;; @@ -476,11 +476,11 @@ animation-packetloss-framerate = 500 ;;;;;;;;;;;;;;;; [module/volume-bar] type = internal/volume -bar-volume-font = 2 +bar-volume-font = 2 bar-volume-width = 20 -format-volume = -label-volume = "  " -label-muted = "  mute" +format-volume = +label-volume = "  " +label-muted = "  mute" label-volume-foreground = #B6C2E7 format-muted-foreground = #E76BB4 bar-volume-foreground-0 = #92A3F7 @@ -490,8 +490,8 @@ bar-volume-foreground-3 = #6BB3E7 bar-volume-foreground-4 = #6BB3E7 bar-volume-foreground-5 = #6BE7D8 bar-volume-foreground-6 = #6BE7D8 -bar-volume-gradient = true -bar-volume-indicator = | -bar-volume-fill = • -bar-volume-empty = · +bar-volume-gradient = true +bar-volume-indicator = | +bar-volume-fill = • +bar-volume-empty = · bar-volume-empty-foreground = #666666 diff --git a/home/.config/termite/config b/home/.config/termite/config index d14afe69..f4301849 100644 --- a/home/.config/termite/config +++ b/home/.config/termite/config @@ -1,55 +1,55 @@ [options] -scroll_on_output = false +scroll_on_output = false scroll_on_keystroke = true -audible_bell = false -mouse_autohide = false -allow_bold = true -dynamic_title = true -urgent_on_bell = true -clickable_url = true -font = Fantasque Sans Mono 12 -scrollback_lines = 10000 -search_wrap = true -icon_name = utilities-terminal -geometry = 750x500 -clickable_url = true -cursor_blink = system -cursor_shape = block -browser = exo-open +audible_bell = false +mouse_autohide = false +allow_bold = true +dynamic_title = true +urgent_on_bell = true +clickable_url = true +font = Fantasque Sans Mono 12 +scrollback_lines = 10000 +search_wrap = true +icon_name = utilities-terminal +geometry = 750x500 +clickable_url = true +cursor_blink = system +cursor_shape = block +browser = exo-open filter_unmatched_urls = true [colors] -background = rgba(43,48,59,0.80) -foreground = #c0c5ce +background = rgba(43,48,59,0.80) +foreground = #c0c5ce foreground_bold = #c0c5ce -cursor = #c0c5ce +cursor = #c0c5ce # Black, Gray, Silver, White -color0 = #2b303b -color8 = #65737e -color7 = #F6F6F6 +color0 = #2b303b +color8 = #65737e +color7 = #F6F6F6 color15 = #c0c5ce # Red -color1 = #bf616a -color9 = #bf616a +color1 = #bf616a +color9 = #bf616a # Green -color2 = #a3be8c +color2 = #a3be8c color10 = #a3be8c # Yellow -color3 = #ebcb8b +color3 = #ebcb8b color11 = #ebcb8b # Blue -color4 = #8fa1b3 +color4 = #8fa1b3 color12 = #8fa1b3 # Purple -color5 = #b48ead +color5 = #b48ead color13 = #b48ead # Teal -color6 = #96b5b4 +color6 = #96b5b4 color14 = #96b5b4 diff --git a/home/.xinitrc b/home/.xinitrc index b1649703..0944b093 100755 --- a/home/.xinitrc +++ b/home/.xinitrc @@ -15,6 +15,7 @@ export PATH=/home/smoke/bin:/usr/sbin:$PATH if [ -f /etc/X11/xinit/.Xmodmap ]; then xmodmap /etc/X11/xinit/.Xmodmap fi + if [ -d /etc/X11/xinit/xinitrc.d ]; then for f in /etc/X11/xinit/xinitrc.d/*.sh; do [ -x "$f" ] && . "$f" @@ -24,9 +25,11 @@ fi if [ -f ~/.Xresources ]; then xrdb -load ~/.Xresources fi + if [ -f ~/.Xmodmap ]; then xmodmap ~/.Xmodmap fi + if [ -f ~/.xprofile ]; then . ~/.xprofile fi diff --git a/home/.xprofile b/home/.xprofile index 2d9c226b..e576abc9 100644 --- a/home/.xprofile +++ b/home/.xprofile @@ -8,9 +8,11 @@ export XDG_CONFIG_HOME if [ -d "$HOME/bin" ]; then PATH=$HOME/bin:$PATH fi + if [ -d "/sbin" ]; then PATH="/sbin:$PATH" fi + if [ -d "/usr/sbin" ]; then PATH="/usr/sbin:$PATH" fi diff --git a/home/bin/start-compton b/home/bin/start-compton deleted file mode 100755 index 77923edd..00000000 --- a/home/bin/start-compton +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash - -if [[ $(pidof compton) ]]; then - al-compositor --restart -else - al-compositor --start -fi