Update, fix small issues in configs, clean up i3

This commit is contained in:
natemaia 2018-02-09 20:35:27 -08:00
parent fd89d0bcdd
commit a944a1caa5
9 changed files with 399 additions and 291 deletions

View File

@ -42,10 +42,6 @@ gaps outer 5
# font # font
font pango:Roboto 11 font pango:Roboto 11
#### Set
##
# $Mod = Super or Alt? # $Mod = Super or Alt?
set $Mod Mod4 set $Mod Mod4
#set $Mod Mod1 #set $Mod Mod1
@ -69,33 +65,33 @@ set $WS8 "8: "
set $Mon1 HDMI1 set $Mon1 HDMI1
set $Mon2 HDMI2 set $Mon2 HDMI2
#################################################################################################### #####################################################
################# Autostart ################## ############### Autostart ##################
#################################################################################################### #####################################################
# run with reload # run with reload
exec_always --no-startup-id start-compton
exec_always --no-startup-id al-polybar-session exec_always --no-startup-id al-polybar-session
exec_always --no-startup-id nitrogen --restore exec_always --no-startup-id nitrogen --restore
exec_always --no-startup-id xrdb -load ~/.Xresources exec_always --no-startup-id xrdb -load ~/.Xresources
# Trayer # Trayer
exec_always --no-startup-id pkill trayer; trayer --edge bottom \ exec_always --no-startup-id pkill trayer; trayer --edge bottom \
--align left --heighttype pixel --height 18 --widthtype request \ --align left --heighttype pixel --height 18 --widthtype request \
--SetDockType false --expand true --transparent true --alpha 255 --SetDockType false --expand true --transparent true --alpha 255
# If you have a numpad you may want to enable this # If you have a numpad you may want to enable this
# exec_always --no-startup-id numlockx on # exec_always --no-startup-id numlockx on
# run once # run once
exec --no-startup-id xfsettingsd
exec --no-startup-id ksuperkey -e 'Super_L=Alt_L|F1' 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 nitrogen --restore
exec --no-startup-id xfsettingsd
exec --no-startup-id lxpolkit exec --no-startup-id lxpolkit
#################################################################################################### ###########################################################
################# Bindings ################## ############# Bindings ##################
#################################################################################################### ###########################################################
# kill focused window # kill focused window
bindsym $Mod+Shift+q kill 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+w exec exo-open --launch WebBrowser
bindsym $Mod+f exec exo-open --launch FileManager bindsym $Mod+f exec exo-open --launch FileManager
# logout # logout script
bindsym $Mod+x exec --no-startup-id rofr.sh -l 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' \ bindsym Print exec --no-startup-id "scrot '%S.png' \
-e 'mv $f $$(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'" ; gpicview $$(xdg-user-dir PICTURES)/ArchLabs-%S-$wx$h.png'"
# audio # audio
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause 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 XF86AudioRaiseVolume exec --no-startup-id pamixer -i 2
bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 2 bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 2
bindsym XF86AudioMute exec --no-startup-id pamixer -t bindsym XF86AudioMute exec --no-startup-id pamixer -t
# backlight
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10 bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 10 bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 10
#################################################################################################### ################################################################
################# Workspace Bindings ################# ########### Workspace Bindings ###############
#################################################################################################### ################################################################
# workspace assignment # workspace assignment
workspace $WS1 output $Mon1 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+7 move container to workspace $WS7; workspace $WS7
bindsym $Mod+Shift+8 move container to workspace $WS8; workspace $WS8 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) # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $Mod+Shift+r restart bindsym $Mod+Shift+r restart
@ -176,9 +174,9 @@ bindsym $Mod+Shift+r restart
# reload the configuration file # reload the configuration file
bindsym $Mod+Shift+c reload bindsym $Mod+Shift+c reload
#################################################################################################### ########################################################
################ Container/Window control ################## ############ Container/Window control ############
#################################################################################################### ########################################################
# Scratchpad, Floating # Scratchpad, Floating
bindsym $Mod+Shift+space floating toggle bindsym $Mod+Shift+space floating toggle
@ -233,9 +231,9 @@ bindsym $Mod+Shift+s layout stacking
bindsym $Mod+Shift+h layout toggle split bindsym $Mod+Shift+h layout toggle split
default_orientation horizontal default_orientation horizontal
#################################################################################################### ######################################################
################# Border & Gaps ################# ############### Border & Gaps ###############
#################################################################################################### ######################################################
new_window normal new_window normal
new_float normal new_float normal
@ -243,25 +241,24 @@ hide_edge_borders both
popup_during_fullscreen smart popup_during_fullscreen smart
bindsym $Mod+shift+b border toggle bindsym $Mod+shift+b border toggle
#changing border style # changing border style
bindsym $Mod+n border normal bindsym $Mod+n border normal
bindsym $Mod+y border 1pixel bindsym $Mod+y border 1pixel
bindsym $Mod+u border none bindsym $Mod+u border none
# change gaps # change gaps
bindsym $Mod+plus gaps inner current plus 5 bindsym $Mod+plus gaps inner current plus 5
bindsym $Mod+minus gaps inner current minus 5 bindsym $Mod+minus gaps inner current minus 5
bindsym $Mod+Shift+plus gaps outer current plus 5 bindsym $Mod+Shift+plus gaps outer current plus 5
bindsym $Mod+Shift+minus gaps outer current minus 5 bindsym $Mod+Shift+minus gaps outer current minus 5
bindsym $Mod+Control+plus gaps inner all plus 5 bindsym $Mod+Control+plus gaps inner all plus 5
bindsym $Mod+Control+minus gaps inner all minus 5 bindsym $Mod+Control+minus gaps inner all minus 5
bindsym $Mod+Control+Shift+plus gaps outer all plus 5 bindsym $Mod+Control+Shift+plus gaps outer all plus 5
bindsym $Mod+Control+Shift+minus gaps outer all minus 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)(?:qt5ct|pinentry)"] floating enable, focus
for_window [class="(?i)(?:termite|thunar)"] 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 # set trayer to be borderless
for_window [class="(?i)trayer"] border pixel 0 for_window [class="(?i)trayer"] border pixel 0

View File

@ -2,7 +2,7 @@
<openbox_menu xmlns="http://openbox.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://openbox.org/ file:///usr/share/openbox/menu.xsd"> <openbox_menu xmlns="http://openbox.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://openbox.org/ file:///usr/share/openbox/menu.xsd">
<menu id="root-menu" label="Openbox 3"> <menu id="root-menu" label="Openbox 3">
<separator label="ArchLabs"/> <separator label="ArchLabs"/>
<menu execute="al-terminalemulators-pipemenu" id="TerminalPipeMenu" label="Terminal Emulator"/> <menu execute="al-terminalemulators-pipemenu" id="TerminalPipeMenu" label="Terminals"/>
<menu execute="al-filemanagers-pipemenu" id="FileManagerPipeMenu" label="File Manager"/> <menu execute="al-filemanagers-pipemenu" id="FileManagerPipeMenu" label="File Manager"/>
<menu execute="al-browsers-pipemenu" id="BrowserPipeMenu" label="Web Browser"/> <menu execute="al-browsers-pipemenu" id="BrowserPipeMenu" label="Web Browser"/>
<menu execute="al-editors-pipemenu" id="EditorPipeMenu" label="Text Editor"/> <menu execute="al-editors-pipemenu" id="EditorPipeMenu" label="Text Editor"/>

View File

@ -0,0 +1,205 @@
<?xml version="1.0" encoding="UTF-8"?>
<openbox_menu xmlns="http://openbox.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://openbox.org/ file:///usr/share/openbox/menu.xsd">
<menu id="root-menu" label="Openbox 3">
<separator label="ArchLabs"/>
<item label="Terminal">
<action name="Execute">
<command>exo-open --launch TerminalEmulator</command>
</action>
</item>
<item label="Web Browser">
<action name="Execute">
<command>exo-open --launch WebBrowser</command>
</action>
</item>
<item label="File Manager">
<action name="Execute">
<command>exo-open --launch FileManager</command>
</action>
</item>
<item label="Text Editor">
<action name="Execute">
<command>geany</command>
</action>
</item>
<separator/>
<menu id="accessories" label="Accessories">
<item label="Calculator">
<action name="Execute">
<command>galculator</command>
</action>
</item>
<item label="Archive Manager">
<action name="Execute">
<command>file-roller</command>
</action>
</item>
<item label="Picture Viewer">
<action name="Execute">
<command>gpicview</command>
</action>
</item>
</menu>
<menu id="screenshot" label="Screenshot">
<item label="Screenshot Now">
<action name="Execute">
<command>scrot 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'</command>
</action>
</item>
<item label="Screenshot in 5">
<action name="Execute">
<command>scrot -d 5 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'</command>
</action>
</item>
<item label="Screenshot in 10">
<action name="Execute">
<command>scrot -d 10 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'</command>
</action>
</item>
<item label="Screenshot With Selection">
<action name="Execute">
<command>scrot -s 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'</command>
</action>
</item>
</menu>
<menu id="multimedia" label="Multimedia">
<item label="Music Player">
<action name="Execute">
<command>audacious</command>
</action>
</item>
<item label="Video Player">
<action name="Execute">
<command>mpv --player-operation-mode=pseudo-gui</command>
</action>
</item>
</menu>
<separator/>
<menu execute="al-places-pipemenu --recent ~/" id="pipe-placesmenu" label="Places"/>
<separator/>
<menu id="preferences" label="Preferences">
<menu id="obConfig" label="Openbox">
<item label="Settings Editor">
<action name="Execute">
<command>obconf</command>
</action>
</item>
<item label="Menu Editor">
<action name="Execute">
<command>kickshaw</command>
</action>
</item>
<item label="Keybind Editor">
<action name="Execute">
<command>obkey</command>
</action>
</item>
<item label="Autostart Editor">
<action name="Execute">
<command>ob-autostart</command>
</action>
</item>
<separator/>
<item label="Edit menu.xml">
<action name="Execute">
<command>exo-open ~/.config/openbox/menu.xml</command>
</action>
</item>
<item label="Edit rc.xml">
<action name="Execute">
<command>exo-open ~/.config/openbox/rc.xml</command>
</action>
</item>
<item label="Edit autostart">
<action name="Execute">
<command>exo-open ~/.config/openbox/autostart</command>
</action>
</item>
<separator/>
<item label="Openbox Reconfigure">
<action name="Reconfigure"/>
</item>
<item label="Openbox Restart">
<action name="Restart"/>
</item>
</menu>
<menu execute="al-compositor" id="CompositingPipeMenu" label="Compositor"/>
<menu execute="al-polybar-pipemenu" id="PolybarPipeMenu" label="Polybar"/>
<menu execute="al-conky-pipemenu" id="ConkyPipeMenu" label="Conky"/>
<menu execute="al-tint2-pipemenu" id="TintPipeMenu" label="Tint2"/>
<item label="Panel Chooser">
<action name="Execute">
<command>al-panel-chooser</command>
</action>
</item>
<separator/>
<item label="Appearance">
<action name="Execute">
<command>xfce4-appearance-settings</command>
</action>
</item>
<item label="Wallpaper">
<action name="Execute">
<command>nitrogen</command>
</action>
</item>
<item label="Rofi Theme">
<action name="Execute">
<command>rofi-theme-selector</command>
</action>
</item>
<separator/>
<item label="Settings Manager">
<action name="Execute">
<command>xfce4-settings-manager</command>
</action>
</item>
<item label="Audio Settings">
<action name="Execute">
<command>pavucontrol</command>
</action>
</item>
<item label="Screen Layout">
<action name="Execute">
<command>arandr</command>
</action>
</item>
</menu>
<menu id="system-settings" label="System Settings">
<item label="Package Manager">
<action name="Execute">
<command>termite --exec=pacli</command>
</action>
</item>
<item label="Root File Manager">
<action name="Execute">
<command>gksu thunar</command>
</action>
</item>
<item label="GParted">
<action name="Execute">
<command>gksu gparted</command>
</action>
</item>
</menu>
<menu execute="al-help-pipemenu" id="help" label="Help and Info"/>
<menu execute="al-kb-pipemenu" id="keybinds" label="Keybinds"/>
<separator/>
<item label="Install Archlabs">
<action name="Execute">
<command>install-al</command>
</action>
</item>
<separator/>
<item label="Lock Screen">
<action name="Execute">
<command>i3lock-fancy -p</command>
</action>
</item>
<item label="Exit Openbox">
<action name="Execute">
<command>rofr.sh -l</command>
</action>
</item>
</menu>
</openbox_menu>

View File

@ -2,77 +2,45 @@
<openbox_menu xmlns="http://openbox.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://openbox.org/ file:///usr/share/openbox/menu.xsd"> <openbox_menu xmlns="http://openbox.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://openbox.org/ file:///usr/share/openbox/menu.xsd">
<menu id="root-menu" label="Openbox 3"> <menu id="root-menu" label="Openbox 3">
<separator label="ArchLabs"/> <separator label="ArchLabs"/>
<item label="Terminal"> <menu execute="al-terminalemulators-pipemenu" id="TerminalPipeMenu" label="Terminal"/>
<action name="Execute"> <menu execute="al-filemanagers-pipemenu" id="FileManagerPipeMenu" label="File Manager"/>
<command>exo-open --launch TerminalEmulator</command> <menu execute="al-browsers-pipemenu" id="BrowserPipeMenu" label="Web Browser"/>
</action> <menu execute="al-editors-pipemenu" id="EditorPipeMenu" label="Text Editor"/>
</item>
<item label="Web Browser">
<action name="Execute">
<command>exo-open --launch WebBrowser</command>
</action>
</item>
<item label="File Manager">
<action name="Execute">
<command>exo-open --launch FileManager</command>
</action>
</item>
<item label="Text Editor">
<action name="Execute">
<command>geany</command>
</action>
</item>
<separator/> <separator/>
<menu id="accessories" label="Accessories"> <menu execute="al-office-pipemenu" id="OfficePipeMenu" label="Office"/>
<menu execute="al-media-pipemenu" id="MediaPipeMenu" label="Media"/>
<menu execute="al-graphics-pipemenu" id="GraphicPipeMenu" label="Graphic"/>
<menu id="Accessories" label="Accessories">
<item label="Calculator"> <item label="Calculator">
<action name="Execute"> <action name="Execute">
<command>galculator</command> <command>galculator</command>
</action> </action>
</item> </item>
<item label="Archive Manager"> <menu execute="al-mail-pipemenu" id="MailPipeMenu" label="Mail"/>
<action name="Execute"> <menu execute="al-messaging-pipemenu" id="MessagingPipeMenu" label="Messaging"/>
<command>file-roller</command> <menu execute="al-filesharing-pipemenu" id="FilesharingPipeMenu" label="File Sharing"/>
</action> <menu id="screenshot" label="Screenshot">
</item> <item label="Screenshot Now">
<item label="Picture Viewer"> <action name="Execute">
<action name="Execute"> <command>scrot 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'</command>
<command>gpicview</command> </action>
</action> </item>
</item> <item label="Screenshot in 5">
</menu> <action name="Execute">
<menu id="screenshot" label="Screenshot"> <command>scrot -d 5 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'</command>
<item label="Screenshot Now"> </action>
<action name="Execute"> </item>
<command>scrot 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'</command> <item label="Screenshot in 10">
</action> <action name="Execute">
</item> <command>scrot -d 10 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'</command>
<item label="Screenshot in 5"> </action>
<action name="Execute"> </item>
<command>scrot -d 5 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'</command> <item label="Screenshot With Selection">
</action> <action name="Execute">
</item> <command>scrot -s 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'</command>
<item label="Screenshot in 10"> </action>
<action name="Execute"> </item>
<command>scrot -d 10 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'</command> </menu>
</action>
</item>
<item label="Screenshot With Selection">
<action name="Execute">
<command>scrot -s 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'</command>
</action>
</item>
</menu>
<menu id="multimedia" label="Multimedia">
<item label="Music Player">
<action name="Execute">
<command>audacious</command>
</action>
</item>
<item label="Video Player">
<action name="Execute">
<command>mpv --player-operation-mode=pseudo-gui</command>
</action>
</item>
</menu> </menu>
<separator/> <separator/>
<menu execute="al-places-pipemenu --recent ~/" id="pipe-placesmenu" label="Places"/> <menu execute="al-places-pipemenu --recent ~/" id="pipe-placesmenu" label="Places"/>
@ -127,70 +95,11 @@
<menu execute="al-polybar-pipemenu" id="PolybarPipeMenu" label="Polybar"/> <menu execute="al-polybar-pipemenu" id="PolybarPipeMenu" label="Polybar"/>
<menu execute="al-conky-pipemenu" id="ConkyPipeMenu" label="Conky"/> <menu execute="al-conky-pipemenu" id="ConkyPipeMenu" label="Conky"/>
<menu execute="al-tint2-pipemenu" id="TintPipeMenu" label="Tint2"/> <menu execute="al-tint2-pipemenu" id="TintPipeMenu" label="Tint2"/>
<item label="Panel Chooser">
<action name="Execute">
<command>al-panel-chooser</command>
</action>
</item>
<separator/>
<item label="Appearance">
<action name="Execute">
<command>xfce4-appearance-settings</command>
</action>
</item>
<item label="Wallpaper">
<action name="Execute">
<command>nitrogen</command>
</action>
</item>
<item label="Rofi Theme">
<action name="Execute">
<command>rofi-theme-selector</command>
</action>
</item>
<separator/>
<item label="Settings Manager">
<action name="Execute">
<command>xfce4-settings-manager</command>
</action>
</item>
<item label="Audio Settings">
<action name="Execute">
<command>pavucontrol</command>
</action>
</item>
<item label="Screen Layout">
<action name="Execute">
<command>arandr</command>
</action>
</item>
</menu>
<menu id="system-settings" label="System Settings">
<item label="Package Manager">
<action name="Execute">
<command>termite --exec=pacli</command>
</action>
</item>
<item label="Root File Manager">
<action name="Execute">
<command>gksu thunar</command>
</action>
</item>
<item label="GParted">
<action name="Execute">
<command>gksu gparted</command>
</action>
</item>
</menu> </menu>
<menu execute="al-settings-pipemenu" id="SettingsPipeMenu" label="Settings"/>
<menu execute="al-help-pipemenu" id="help" label="Help and Info"/> <menu execute="al-help-pipemenu" id="help" label="Help and Info"/>
<menu execute="al-kb-pipemenu" id="keybinds" label="Keybinds"/> <menu execute="al-kb-pipemenu" id="keybinds" label="Keybinds"/>
<separator/> <separator/>
<item label="Install Archlabs">
<action name="Execute">
<command>install-al</command>
</action>
</item>
<separator/>
<item label="Lock Screen"> <item label="Lock Screen">
<action name="Execute"> <action name="Execute">
<command>i3lock-fancy -p</command> <command>i3lock-fancy -p</command>

View File

@ -56,28 +56,28 @@ label-empty-foreground = ${colors.foreground}
;; i3 Workspaces ;; ;; i3 Workspaces ;;
;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;
[module/i3] [module/i3]
type = internal/i3 type = internal/i3
pin-workspaces = true pin-workspaces = true
strip-wsnumbers = true strip-wsnumbers = true
index-sort = true index-sort = true
enable-click = true enable-click = true
fuzzy-match = true fuzzy-match = true
ws-icon-default =  ws-icon-default = 
format = <label-state><label-mode> format = <label-state><label-mode>
label-mode = %mode% label-mode = %mode%
label-mode-padding = 2 label-mode-padding = 2
label-focused = %index% %name% label-focused = %index% %name%
label-focused-padding = 2 label-focused-padding = 2
label-unfocused = %index% %name% label-unfocused = %index% %name%
label-unfocused-padding = 2 label-unfocused-padding = 2
label-visible = %index% %name% label-visible = %index% %name%
label-visible-padding = 2 label-visible-padding = 2
label-urgent = %index% %name% label-urgent = %index% %name%
label-urgent-padding = 2 label-urgent-padding = 2
label-mode-underline = ${colors.urgent} label-mode-underline = ${colors.urgent}
label-focused-underline = ${colors.trim} label-focused-underline = ${colors.trim}
label-visible-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-8 = IX;
ws-icon-9 = X; ws-icon-9 = X;
;ws-icon-default = ♟ ;ws-icon-default = ♟
format = <label-state> <label-mode> format = <label-state> <label-mode>
label-monitor = %name% label-monitor = %name%
label-mode-padding = 1 label-mode-padding = 1
label-focused = %icon% %name% label-focused = %icon% %name%
label-focused-padding = 1 label-focused-padding = 1
label-occupied = %icon% %name% label-occupied = %icon% %name%
label-occupied-padding = 1 label-occupied-padding = 1
label-urgent = %icon% %name% label-urgent = %icon% %name%
label-urgent-padding = 1 label-urgent-padding = 1
label-empty = %icon% %name% label-empty = %icon% %name%
label-empty-padding = 1 label-empty-padding = 1
label-dimmed-foreground = ${colors.purple} label-dimmed-foreground = ${colors.purple}
label-dimmed-underline = ${colors.purple} label-dimmed-underline = ${colors.purple}
label-dimmed-focused-background = ${colors.purple} label-dimmed-focused-background = ${colors.purple}
label-focused-foreground = ${colors.blue} label-focused-foreground = ${colors.blue}
label-focused-underline = ${colors.blue} label-focused-underline = ${colors.blue}
label-occupied-underline = ${colors.purple} label-occupied-underline = ${colors.purple}
label-urgent-foreground = ${colors.urgent} label-urgent-foreground = ${colors.urgent}
label-urgent-underline = ${colors.urgent} label-urgent-underline = ${colors.urgent}
; The following labels will be used to indicate the layout/mode ; The following labels will be used to indicate the layout/mode
; for the focused workspace. Requires <label-mode> ; for the focused workspace. Requires <label-mode>
label-monocle =  label-monocle = 
label-tiled =  label-tiled = 
label-fullscreen =  label-fullscreen = 
label-floating =  label-floating = 
label-pseudotiled = P label-pseudotiled = P
label-locked =  label-locked = 
label-sticky =  label-sticky = 
label-private =  label-private = 
label-sticky-foreground = ${colors.purple} label-sticky-foreground = ${colors.purple}
label-locked-foreground = ${colors.yellow} label-locked-foreground = ${colors.yellow}
label-private-foreground = ${colors.urgent} label-private-foreground = ${colors.urgent}
@ -305,49 +305,49 @@ animation-charging-framerate = 750
;; MENU ;; ;; MENU ;;
;;;;;;;;;; ;;;;;;;;;;
[module/menu] [module/menu]
type = custom/menu type = custom/menu
format-spacing = 1 format-spacing = 1
label-open = "  " label-open = "  "
label-close = "  " label-close = "  "
label-close-foreground = ${colors.urgent} label-close-foreground = ${colors.urgent}
label-separator = " | " label-separator = " | "
# Top level # Top level
menu-0-0 = "  " menu-0-0 = "  "
menu-0-0-exec = menu-open-1 menu-0-0-exec = menu-open-1
menu-0-1 = "  " menu-0-1 = "  "
menu-0-1-exec = menu-open-2 menu-0-1-exec = menu-open-2
menu-0-2 = "  |" menu-0-2 = "  |"
menu-0-2-exec = menu-open-3 menu-0-2-exec = menu-open-3
# 1 # 1
menu-1-0 = "  " menu-1-0 = "  "
menu-1-0-exec = menu-open-0 menu-1-0-exec = menu-open-0
menu-1-0-foreground = ${colors.urgent} menu-1-0-foreground = ${colors.urgent}
menu-1-1 = "  " menu-1-1 = "  "
menu-1-1-exec = exo-open --launch WebBrowser menu-1-1-exec = exo-open --launch WebBrowser
menu-1-2 = "  " menu-1-2 = "  "
menu-1-2-exec = exo-open --launch TerminalEmulator menu-1-2-exec = exo-open --launch TerminalEmulator
menu-1-3 = "  |" menu-1-3 = "  |"
menu-1-3-exec = exo-open --launch FileManager menu-1-3-exec = exo-open --launch FileManager
# 2 # 2
menu-2-0 = "  " menu-2-0 = "  "
menu-2-0-exec = menu-open-0 menu-2-0-exec = menu-open-0
menu-2-0-foreground = ${colors.urgent} menu-2-0-foreground = ${colors.urgent}
menu-2-1 = "  " menu-2-1 = "  "
menu-2-1-exec = termite --exec=pacli & menu-2-1-exec = termite --exec=pacli &
menu-2-2 = "  " menu-2-2 = "  "
menu-2-2-exec = xfce4-settings-manager & menu-2-2-exec = xfce4-settings-manager &
menu-2-3 = "  |" menu-2-3 = "  |"
menu-2-3-exec = pavucontrol & menu-2-3-exec = pavucontrol &
# 3 # 3
menu-3-0 = "  " menu-3-0 = "  "
menu-3-0-exec = menu-open-0 menu-3-0-exec = menu-open-0
menu-3-0-foreground = ${colors.urgent} menu-3-0-foreground = ${colors.urgent}
menu-3-1 = "  " menu-3-1 = "  "
menu-3-1-exec = i3lock-fancy -p -f Ubuntu & menu-3-1-exec = i3lock-fancy -p -f Ubuntu &
menu-3-2 = "  " menu-3-2 = "  "
menu-3-2-exec = systemctl reboot menu-3-2-exec = systemctl reboot
menu-3-3 = "  |" menu-3-3 = "  |"
menu-3-3-exec = systemctl poweroff menu-3-3-exec = systemctl poweroff
;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;
@ -432,12 +432,12 @@ toggle-on-foreground =
toggle-off-foreground = #55 toggle-off-foreground = #55
bar-progress-width = 35 bar-progress-width = 35
bar-progress-indicator = █ bar-progress-indicator = █
bar-progress-fill = █ bar-progress-fill = █
bar-progress-empty = ▒ bar-progress-empty = ▒
bar-progress-empty-font = 2 bar-progress-empty-font = 2
bar-progress-indicator-font = 2 bar-progress-indicator-font = 2
bar-progress-fill-font = 2 bar-progress-fill-font = 2
bar-progress-fill-foreground = #bb bar-progress-fill-foreground = #bb
bar-progress-empty-foreground = #44 bar-progress-empty-foreground = #44
bar-progress-indicator-foreground = #A85659 bar-progress-indicator-foreground = #A85659
@ -449,9 +449,9 @@ bar-progress-indicator-foreground = #A85659
type = internal/network type = internal/network
interface = interface =
format-connected = <ramp-signal> <label-connected> format-connected = <ramp-signal> <label-connected>
format-packetloss = <animation-packetloss> format-packetloss = <animation-packetloss>
label-connected = " %local_ip% " label-connected = " %local_ip% "
ramp-signal-0 =  ramp-signal-0 = 
ramp-signal-1 =  ramp-signal-1 = 
ramp-signal-2 =  ramp-signal-2 = 
@ -468,7 +468,7 @@ animation-packetloss-0 = ⚠
animation-packetloss-1 = 📶 animation-packetloss-1 = 📶
animation-packetloss-0-foreground = #ffa64c animation-packetloss-0-foreground = #ffa64c
animation-packetloss-1-foreground = #000000 animation-packetloss-1-foreground = #000000
animation-packetloss-framerate = 500 animation-packetloss-framerate = 500
;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;
@ -476,11 +476,11 @@ animation-packetloss-framerate = 500
;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;
[module/volume-bar] [module/volume-bar]
type = internal/volume type = internal/volume
bar-volume-font = 2 bar-volume-font = 2
bar-volume-width = 20 bar-volume-width = 20
format-volume = <label-volume><bar-volume> format-volume = <label-volume><bar-volume>
label-volume = "  " label-volume = "  "
label-muted = "  mute" label-muted = "  mute"
label-volume-foreground = #B6C2E7 label-volume-foreground = #B6C2E7
format-muted-foreground = #E76BB4 format-muted-foreground = #E76BB4
bar-volume-foreground-0 = #92A3F7 bar-volume-foreground-0 = #92A3F7
@ -490,8 +490,8 @@ bar-volume-foreground-3 = #6BB3E7
bar-volume-foreground-4 = #6BB3E7 bar-volume-foreground-4 = #6BB3E7
bar-volume-foreground-5 = #6BE7D8 bar-volume-foreground-5 = #6BE7D8
bar-volume-foreground-6 = #6BE7D8 bar-volume-foreground-6 = #6BE7D8
bar-volume-gradient = true bar-volume-gradient = true
bar-volume-indicator = | bar-volume-indicator = |
bar-volume-fill = • bar-volume-fill = •
bar-volume-empty = · bar-volume-empty = ·
bar-volume-empty-foreground = #666666 bar-volume-empty-foreground = #666666

View File

@ -1,55 +1,55 @@
[options] [options]
scroll_on_output = false scroll_on_output = false
scroll_on_keystroke = true scroll_on_keystroke = true
audible_bell = false audible_bell = false
mouse_autohide = false mouse_autohide = false
allow_bold = true allow_bold = true
dynamic_title = true dynamic_title = true
urgent_on_bell = true urgent_on_bell = true
clickable_url = true clickable_url = true
font = Fantasque Sans Mono 12 font = Fantasque Sans Mono 12
scrollback_lines = 10000 scrollback_lines = 10000
search_wrap = true search_wrap = true
icon_name = utilities-terminal icon_name = utilities-terminal
geometry = 750x500 geometry = 750x500
clickable_url = true clickable_url = true
cursor_blink = system cursor_blink = system
cursor_shape = block cursor_shape = block
browser = exo-open browser = exo-open
filter_unmatched_urls = true filter_unmatched_urls = true
[colors] [colors]
background = rgba(43,48,59,0.80) background = rgba(43,48,59,0.80)
foreground = #c0c5ce foreground = #c0c5ce
foreground_bold = #c0c5ce foreground_bold = #c0c5ce
cursor = #c0c5ce cursor = #c0c5ce
# Black, Gray, Silver, White # Black, Gray, Silver, White
color0 = #2b303b color0 = #2b303b
color8 = #65737e color8 = #65737e
color7 = #F6F6F6 color7 = #F6F6F6
color15 = #c0c5ce color15 = #c0c5ce
# Red # Red
color1 = #bf616a color1 = #bf616a
color9 = #bf616a color9 = #bf616a
# Green # Green
color2 = #a3be8c color2 = #a3be8c
color10 = #a3be8c color10 = #a3be8c
# Yellow # Yellow
color3 = #ebcb8b color3 = #ebcb8b
color11 = #ebcb8b color11 = #ebcb8b
# Blue # Blue
color4 = #8fa1b3 color4 = #8fa1b3
color12 = #8fa1b3 color12 = #8fa1b3
# Purple # Purple
color5 = #b48ead color5 = #b48ead
color13 = #b48ead color13 = #b48ead
# Teal # Teal
color6 = #96b5b4 color6 = #96b5b4
color14 = #96b5b4 color14 = #96b5b4

View File

@ -15,6 +15,7 @@ export PATH=/home/smoke/bin:/usr/sbin:$PATH
if [ -f /etc/X11/xinit/.Xmodmap ]; then if [ -f /etc/X11/xinit/.Xmodmap ]; then
xmodmap /etc/X11/xinit/.Xmodmap xmodmap /etc/X11/xinit/.Xmodmap
fi fi
if [ -d /etc/X11/xinit/xinitrc.d ]; then if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*.sh; do for f in /etc/X11/xinit/xinitrc.d/*.sh; do
[ -x "$f" ] && . "$f" [ -x "$f" ] && . "$f"
@ -24,9 +25,11 @@ fi
if [ -f ~/.Xresources ]; then if [ -f ~/.Xresources ]; then
xrdb -load ~/.Xresources xrdb -load ~/.Xresources
fi fi
if [ -f ~/.Xmodmap ]; then if [ -f ~/.Xmodmap ]; then
xmodmap ~/.Xmodmap xmodmap ~/.Xmodmap
fi fi
if [ -f ~/.xprofile ]; then if [ -f ~/.xprofile ]; then
. ~/.xprofile . ~/.xprofile
fi fi

View File

@ -8,9 +8,11 @@ export XDG_CONFIG_HOME
if [ -d "$HOME/bin" ]; then if [ -d "$HOME/bin" ]; then
PATH=$HOME/bin:$PATH PATH=$HOME/bin:$PATH
fi fi
if [ -d "/sbin" ]; then if [ -d "/sbin" ]; then
PATH="/sbin:$PATH" PATH="/sbin:$PATH"
fi fi
if [ -d "/usr/sbin" ]; then if [ -d "/usr/sbin" ]; then
PATH="/usr/sbin:$PATH" PATH="/usr/sbin:$PATH"
fi fi

View File

@ -1,7 +0,0 @@
#!/usr/bin/env bash
if [[ $(pidof compton) ]]; then
al-compositor --restart
else
al-compositor --start
fi