Large update, remove old scripts & gorice, merge some together

This commit is contained in:
natemaia 2018-02-05 19:31:56 -08:00
parent 9718b4bd71
commit f041702ae0
77 changed files with 1704 additions and 3307 deletions

View File

@ -20,10 +20,6 @@ Section "InputClass"
Option "Ignore" "on"
EndSection
# This option enables the bottom right corner to be a right button on clickpads
# and the right and middle top areas to be right / middle buttons on clickpads
# with a top button area.
# This option is only interpreted by clickpads.
Section "InputClass"
Identifier "Default clickpad buttons"
MatchDriver "libinput"
@ -31,8 +27,6 @@ Section "InputClass"
Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%"
EndSection
# This option disables software buttons on Apple touchpads.
# This option is only interpreted by clickpads.
Section "InputClass"
Identifier "Disable clickpad buttons on Apple touchpads"
MatchProduct "Apple|bcm5974"

157
home/.Xresources Executable file → Normal file
View File

@ -2,49 +2,33 @@
! theme colors
! ------------------------------------------------------------------------------
! special
*.foreground: #c0c5ce
*.background: #2b303b
*.cursorColor: #c0c5ce
*.foreground: #c0c5ce
*.background: #2b303b
*.cursorColor: #c0c5ce
! black
*.color0: #2b303b
*.color8: #65737e
! red
*.color1: #bf616a
*.color9: #bf616a
! green
*.color2: #a3be8c
*.color10: #a3be8c
! yellow
*.color3: #ebcb8b
*.color11: #ebcb8b
! blue
*.color4: #8fa1b3
*.color12: #8fa1b3
! magenta
*.color5: #b48ead
*.color13: #b48ead
! cyan
*.color6: #96b5b4
*.color14: #96b5b4
! white
*.color7: #65737e
*.color15: #F6F6F6
*.color0: #2b303b
*.color1: #bf616a
*.color2: #a3be8c
*.color3: #ebcb8b
*.color4: #8fa1b3
*.color5: #b48ead
*.color6: #96b5b4
*.color7: #65737e
*.color8: #65737e
*.color9: #bf616a
*.color10: #a3be8c
*.color11: #ebcb8b
*.color12: #8fa1b3
*.color13: #b48ead
*.color14: #96b5b4
*.color15: #F6F6F6
! ------------------------------------------------------------------------------
! xterm
! ------------------------------------------------------------------------------
xterm*font: 7x13
xterm*faceName: Monospace:size=10:antialias=false
xterm*font: Ubuntu Mono
xterm*faceName: Ubuntu Mono:size=11:antialias=false
xterm*loginShell: true
xterm*vt100*geometry: 90x34
xterm*saveLines: 2000
@ -52,69 +36,60 @@ xterm*charClass: 33:48,35:48,37:48,43:48,45-47:48,64:48,95:48,126:48
xterm*termName: xterm-256color
xterm*eightBitInput: false
! ------------------------------------------------------------------------------
! URxvt
! -----------------------------------------------------------------------------
! general settings
URxvt*saveline: 15000
URxvt*termName: rxvt-256color
URxvt*iso14755: false
! appearance
URxvt*depth: 32
URxvt*background: [90]#2b303b
URxvt*scrollBar: false
URxvt*scrollBar_right: false
URxvt*internalBorder: 0
URxvt*externalBorder: 0
! fonts
URxvt*letterSpace: -1
URxvt*saveline: 15000
URxvt*termName: rxvt-256color
URxvt*iso14755: false
URxvt*depth: 32
URxvt*background: [90]#2b303b
URxvt*scrollBar: false
URxvt*scrollBar_right: false
URxvt*internalBorder: 0
URxvt*externalBorder: 0
URxvt*letterSpace: -1
URxvt.font: xft:Ubuntu Mono:size=11
! run :.!fc-list | grep <font-name>
! perl extensions
URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select
! macros for clipboard and selection "m"=Alt
URxvt.copyCommand: xclip -i -selection clipboard
URxvt.pasteCommand: xclip -o -selection clipboard
URxvt.keysym.m-c: perl:clipboard:copy
URxvt.keysym.m-v: perl:clipboard:paste
URxvt.urlLauncher: exo-open
URxvt.underlineURLs: true
URxvt.urlButton: 1
URxvt.geometry: 90x30
! tabbed
URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select
URxvt.copyCommand: xclip -i -selection clipboard
URxvt.pasteCommand: xclip -o -selection clipboard
URxvt.keysym.m-c: perl:clipboard:copy
URxvt.keysym.m-v: perl:clipboard:paste
URxvt.urlLauncher: exo-open
URxvt.underlineURLs: true
URxvt.urlButton: 1
URxvt.geometry: 90x30
URxvt.tabbed.tabbar-fg: 4
URxvt.tabbed.tabbar-bg: 16
URxvt.tabbed.tab-fg: 15
URxvt.tabbed.tab-bg: 4
URxvt*buffered: false
URxvt.tabbed.tab-fg: 15
URxvt.tabbed.tab-bg: 4
URxvt*buffered: false
! ------------------------------------------------------------------------------
! UXTerm
! ------------------------------------------------------------------------------
! termtype
UXTerm*termName: xterm-256color
UXTerm*cursorColor: white
UXTerm*VT100.geometry: 90x30
UXTerm*font: Ubuntu Mono
UXTerm*faceSize: 12
UXTerm*dynamicColors: true
UXTerm*utf8: 2
UXTerm*eightBitInput: true
UXTerm*saveLines: 10000
UXTerm*scrollKey: true
UXTerm*scrollTtyOutput: false
UXTerm*scrollBar: false
UXTerm*rightScrollBar: false
UXTerm*jumpScroll: true
UXTerm*multiScroll: true
UXTerm*toolBar: false
UXTerm*cursorColor: white
UXTerm*VT100.geometry: 90x30
UXTerm*font: Monospace
UXTerm*faceSize: 12
UXTerm*dynamicColors: true
UXTerm*utf8: 2
UXTerm*eightBitInput: true
UXTerm*saveLines: 10000
UXTerm*scrollKey: true
UXTerm*scrollTtyOutput: false
UXTerm*scrollBar: false
UXTerm*rightScrollBar: false
UXTerm*jumpScroll: true
UXTerm*multiScroll: true
UXTerm*toolBar: false
! ------------------------------------------------------------------------------
! Rofi
! ------------------------------------------------------------------------------
rofi.font: Ubuntu Mono 12
rofi.color-enabled: true
rofi.color-window: #2b303b, #2b303b, #2b303b
rofi.color-normal: #2b303b, #c0c5ce, #2b303b, #8fa1b3, #2b303b
rofi.separator-style: solid

View File

@ -1,120 +0,0 @@
! ------------------------------------------------------------------------------
! theme colors
! ------------------------------------------------------------------------------
! special
*.foreground: {{.Data.terminal_foreground}}
*.background: {{.Data.terminal_background}}
*.cursorColor: {{.Data.terminal_foreground}}
! black
*.color0: {{index .Data.terminal_colors 0}}
*.color8: {{index .Data.terminal_colors 7}}
! red
*.color1: {{index .Data.terminal_colors 1}}
*.color9: {{index .Data.terminal_colors 1}}
! green
*.color2: {{index .Data.terminal_colors 2}}
*.color10: {{index .Data.terminal_colors 2}}
! yellow
*.color3: {{index .Data.terminal_colors 3}}
*.color11: {{index .Data.terminal_colors 3}}
! blue
*.color4: {{index .Data.terminal_colors 4}}
*.color12: {{index .Data.terminal_colors 4}}
! magenta
*.color5: {{index .Data.terminal_colors 5}}
*.color13: {{index .Data.terminal_colors 5}}
! cyan
*.color6: {{index .Data.terminal_colors 6}}
*.color14: {{index .Data.terminal_colors 6}}
! white
*.color7: {{index .Data.terminal_colors 7}}
*.color15: {{index .Data.terminal_colors 8}}
! ------------------------------------------------------------------------------
! xterm
! ------------------------------------------------------------------------------
xterm*font: 7x13
xterm*faceName: Monospace:size=10:antialias=false
xterm*loginShell: true
xterm*vt100*geometry: 90x34
xterm*saveLines: 2000
xterm*charClass: 33:48,35:48,37:48,43:48,45-47:48,64:48,95:48,126:48
xterm*termName: xterm-256color
xterm*eightBitInput: false
! ------------------------------------------------------------------------------
! URxvt
! -----------------------------------------------------------------------------
! general settings
URxvt*saveline: 15000
URxvt*termName: rxvt-256color
URxvt*iso14755: false
! appearance
URxvt*depth: 32
URxvt*background: [90]{{.Data.terminal_background}}
URxvt*scrollBar: false
URxvt*scrollBar_right: false
URxvt*internalBorder: 0
URxvt*externalBorder: 0
! fonts
URxvt*letterSpace: -1
URxvt.font: xft:Ubuntu Mono:size=11
! run :.!fc-list | grep <font-name>
! perl extensions
URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select
! macros for clipboard and selection "m"=Alt
URxvt.copyCommand: xclip -i -selection clipboard
URxvt.pasteCommand: xclip -o -selection clipboard
URxvt.keysym.m-c: perl:clipboard:copy
URxvt.keysym.m-v: perl:clipboard:paste
URxvt.urlLauncher: exo-open
URxvt.underlineURLs: true
URxvt.urlButton: 1
URxvt.geometry: 90x30
! tabbed
URxvt.tabbed.tabbar-fg: 4
URxvt.tabbed.tabbar-bg: 16
URxvt.tabbed.tab-fg: 15
URxvt.tabbed.tab-bg: 4
URxvt*buffered: false
! ------------------------------------------------------------------------------
! UXTerm
! ------------------------------------------------------------------------------
! termtype
UXTerm*termName: xterm-256color
UXTerm*cursorColor: white
UXTerm*VT100.geometry: 90x30
UXTerm*font: Monospace
UXTerm*faceSize: 12
UXTerm*dynamicColors: true
UXTerm*utf8: 2
UXTerm*eightBitInput: true
UXTerm*saveLines: 10000
UXTerm*scrollKey: true
UXTerm*scrollTtyOutput: false
UXTerm*scrollBar: false
UXTerm*rightScrollBar: false
UXTerm*jumpScroll: true
UXTerm*multiScroll: true
UXTerm*toolBar: false

View File

@ -1,44 +1,44 @@
<?xml encoding="UTF-8" version="1.0"?>
<actions>
<action>
<icon>utilities-terminal</icon>
<name>Open in Terminal</name>
<unique-id>1499240572835265-1</unique-id>
<command>exo-open --launch TerminalEmulator %f</command>
<description></description>
<patterns>*</patterns>
<startup-notify/>
<directories/>
</action>
<action>
<icon>document-open</icon>
<name>Open as Root</name>
<unique-id>1498523394840843-5</unique-id>
<command>gksu thunar %f</command>
<description></description>
<patterns>*</patterns>
<directories/>
</action>
<action>
<icon>archive-extract</icon>
<name>Extract Here</name>
<unique-id>1500573442438340-2</unique-id>
<command>file-roller -h %N</command>
<description></description>
<patterns>*</patterns>
<startup-notify/>
<other-files/>
</action>
<action>
<icon>archive-insert</icon>
<name>Archive</name>
<unique-id>1500573639456321-3</unique-id>
<command>file-roller -d %F</command>
<description>Archive selected items</description>
<patterns>*</patterns>
<directories/>
<image-files/>
<other-files/>
<text-files/>
</action>
<action>
<icon>utilities-terminal</icon>
<name>Open in Terminal</name>
<unique-id>1499240572835265-1</unique-id>
<command>exo-open --launch TerminalEmulator %f</command>
<description></description>
<patterns>*</patterns>
<startup-notify/>
<directories/>
</action>
<action>
<icon>document-open</icon>
<name>Open as Root</name>
<unique-id>1498523394840843-5</unique-id>
<command>gksu thunar %f</command>
<description></description>
<patterns>*</patterns>
<directories/>
</action>
<action>
<icon>archive-extract</icon>
<name>Extract Here</name>
<unique-id>1500573442438340-2</unique-id>
<command>file-roller -h %N</command>
<description></description>
<patterns>*</patterns>
<startup-notify/>
<other-files/>
</action>
<action>
<icon>archive-insert</icon>
<name>Archive</name>
<unique-id>1500573639456321-3</unique-id>
<command>file-roller -d %F</command>
<description>Archive selected items</description>
<patterns>*</patterns>
<directories/>
<image-files/>
<other-files/>
<text-files/>
</action>
</actions>

View File

@ -2,46 +2,40 @@
# key bindings
sxhkd &
# wallpaper
nitrogen --restore &
# set super key to launch rofi
ksuperkey -e 'Super_L=Alt_L|F1' &
# launch compton
al-compositor --start &
# gnome polkit
lxpolkit &
# panel
sleep 1; al-polybar-session &
# Set some bsp specific stuff
bspc monitor -d I II III IV V VI VII VIII IX X
bspc config border_width 3
bspc config window_gap 12
bspc config top_padding 18
bspc config right_padding 0
bspc config bottom_padding 0
bspc config left_padding 0
bspc config border_width 3
bspc config window_gap 12
bspc config top_padding 18
bspc config right_padding 0
bspc config bottom_padding 0
bspc config left_padding 0
bspc config split_ratio 0.54
bspc config borderless_monocle false
bspc config gapless_monocle true
bspc config paddingless_monocle true
bspc config split_ratio 0.54
bspc config borderless_monocle false
bspc config gapless_monocle true
bspc config paddingless_monocle true
bspc config pointer_modifier mod1
bspc config click_to_focus true
bspc config pointer_action1 move
bspc config pointer_action2 resize_side
bspc config pointer_action3 resize_corner
bspc config pointer_modifier mod1
bspc config click_to_focus true
bspc config pointer_action1 move
bspc config pointer_action2 resize_side
bspc config pointer_action3 resize_corner
bspc rule -a thunar desktop='^1' state=floating follow=on
bspc rule -a firefox desktop='^2'
bspc rule -a mplayer2 state=floating
bspc rule -a Galculator state=floating
bspc rule -a Void_Exit_Session state=floating layer=above
bspc rule -a Exit_Session state=floating layer=above

84
home/.config/dunst/dunstrc Executable file → Normal file
View File

@ -1,50 +1,48 @@
[global]
font = Ubuntu 11
markup = yes
format = "<b>%s</b>\n%b"
sort = yes
indicate_hidden = yes
alignment = center
bounce_freq = 0
show_age_threshold = 60
word_wrap = yes
ignore_newline = no
geometry = "400x10-20+40"
shrink = yes
transparency = 0
idle_threshold = 0
#monitor = 0
follow = mouse
sticky_history = yes
history_length = 20
show_indicators = no
line_height = 0
separator_height = 2
padding = 10
horizontal_padding = 20
frame_color = "#c0c5ce"
separator_color = frame
frame_width = 1
startup_notification = false
dmenu = /usr/bin/dmenu -p dunst:
browser = /usr/bin/firefox
icon_position = left
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
[shortcuts]
font = Ubuntu 11
markup = yes
format = "<b>%s</b>\n%b"
sort = yes
indicate_hidden = yes
alignment = center
bounce_freq = 0
show_age_threshold = 60
word_wrap = yes
ignore_newline = no
geometry = "400x10-20+40"
shrink = yes
transparency = 0
idle_threshold = 0
#monitor = 0
follow = mouse
sticky_history = yes
history_length = 20
show_indicators = no
line_height = 0
separator_height = 2
padding = 10
horizontal_padding = 20
frame_color = "#c0c5ce"
separator_color = frame
frame_width = 1
startup_notification = false
dmenu = /usr/bin/dmenu -p dunst:
browser = /usr/bin/firefox
icon_position = left
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
[urgency_low]
background = "#2b303b"
foreground = "#c0c5ce"
timeout = 3
background = "#2b303b"
foreground = "#c0c5ce"
timeout = 3
[urgency_normal]
background = "#2b303b"
foreground = "#c0c5ce"
timeout = 3
background = "#2b303b"
foreground = "#c0c5ce"
timeout = 3
[urgency_critical]
background = "#2b303b"
foreground = "#bf616a"
frame_color = "#bf616a"
timeout = 5
background = "#2b303b"
foreground = "#bf616a"
frame_color = "#bf616a"
timeout = 5

View File

@ -1,50 +0,0 @@
[global]
font = Ubuntu 11
markup = yes
format = "<b>%s</b>\n%b"
sort = yes
indicate_hidden = yes
alignment = center
bounce_freq = 0
show_age_threshold = 60
word_wrap = yes
ignore_newline = no
geometry = "400x10-20+40"
shrink = yes
transparency = 0
idle_threshold = 0
#monitor = 0
follow = mouse
sticky_history = yes
history_length = 20
show_indicators = no
line_height = 0
separator_height = 2
padding = 10
horizontal_padding = 20
frame_color = "{{.Data.border_color}}"
separator_color = frame
frame_width = 1
startup_notification = false
dmenu = /usr/bin/dmenu -p dunst:
browser = /usr/bin/firefox
icon_position = left
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
[shortcuts]
[urgency_low]
background = "{{.Data.terminal_background}}"
foreground = "{{.Data.terminal_foreground}}"
timeout = 3
[urgency_normal]
background = "{{.Data.terminal_background}}"
foreground = "{{.Data.terminal_foreground}}"
timeout = 3
[urgency_critical]
background = "{{.Data.terminal_background}}"
foreground = "{{index .Data.terminal_colors 1}}"
frame_color = "{{index .Data.terminal_colors 1}}"
timeout = 5

View File

@ -1,56 +1,56 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit mode="assign" name="hinting" >
<bool>true</bool>
</edit>
<edit mode="assign" name="autohint" >
<bool>true</bool>
</edit>
<edit mode="assign" name="hintstyle" >
<const>hintslight</const>
</edit>
<edit mode="assign" name="rgba" >
<const>rgb</const>
</edit>
<edit mode="assign" name="antialias" >
<bool>true</bool>
</edit>
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
<!-- Set preferred serif, sans serif, and monospace fonts. -->
<alias>
<family>serif</family>
<prefer>
<family>Ubuntu</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Ubuntu</family>
</prefer>
</alias>
<alias>
<family>sans</family>
<prefer>
<family>Ubuntu</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Ubuntu Mono</family>
</prefer>
</alias>
<alias>
<family>mono</family>
<prefer>
<family>Ubuntu Mono</family>
</prefer>
</alias>
<match target="font">
<edit mode="assign" name="hinting" >
<bool>true</bool>
</edit>
<edit mode="assign" name="autohint" >
<bool>true</bool>
</edit>
<edit mode="assign" name="hintstyle" >
<const>hintslight</const>
</edit>
<edit mode="assign" name="rgba" >
<const>rgb</const>
</edit>
<edit mode="assign" name="antialias" >
<bool>true</bool>
</edit>
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
<!-- Set preferred serif, sans serif, and monospace fonts. -->
<alias>
<family>serif</family>
<prefer>
<family>Ubuntu</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Ubuntu</family>
</prefer>
</alias>
<alias>
<family>sans</family>
<prefer>
<family>Ubuntu</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Ubuntu Mono</family>
</prefer>
</alias>
<alias>
<family>mono</family>
<prefer>
<family>Ubuntu Mono</family>
</prefer>
</alias>
</fontconfig>

View File

@ -1,11 +0,0 @@
[Filechooser Settings]
LocationMode=path-bar
ShowHidden=false
ShowSizeColumn=true
GeometryX=0
GeometryY=0
GeometryWidth=750
GeometryHeight=650
SortColumn=name
SortOrder=ascending
StartupMode=recent

View File

@ -5,7 +5,7 @@ file:///home/liveuser/Pictures
file:///home/liveuser/Music
file:///home/liveuser/Videos
file:///home/liveuser/Templates
file:///home/liveuser/.config configs
file:///home/liveuser/.config .config
file:///home/liveuser/.config/polybar
file:///home/liveuser/.config/neofetch
file:///home/liveuser/.config/termite

View File

@ -102,10 +102,10 @@ bindsym $Mod+Shift+q kill
bindsym Mod1+q kill
# launchers
bindsym Control+space exec --no-startup-id rofi-gorice
bindsym Control+space exec --no-startup-id rofr.sh -r
# this is needed for super key to launch rofi
bindsym Mod1+F1 exec --no-startup-id rofi-gorice
bindsym Mod1+F1 exec --no-startup-id rofr.sh -r
# core
bindsym $Mod+e exec --no-startup-id geany
@ -114,7 +114,7 @@ bindsym $Mod+w exec exo-open --launch WebBrowser
bindsym $Mod+f exec exo-open --launch FileManager
# logout
bindsym $Mod+x exec --no-startup-id rofi-logout
bindsym $Mod+x exec --no-startup-id rofr.sh -l
# long command broken into multiple lines
bindsym Print exec --no-startup-id "scrot '%S.png' \
@ -122,14 +122,14 @@ bindsym Print exec --no-startup-id "scrot '%S.png' \
; gpicview $$(xdg-user-dir PICTURES)/ArchLabs-%S-$wx$h.png'"
# audio
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
bindsym XF86AudioNext exec --no-startup-id playerctl next
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
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
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
bindsym XF86AudioNext exec --no-startup-id playerctl next
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
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
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 10
####################################################################################################
@ -181,10 +181,8 @@ bindsym $Mod+Shift+c reload
####################################################################################################
# Scratchpad, Floating
bindsym Mod1+minus move scratchpad
bindsym Mod1+plus scratchpad show
bindsym $Mod+space floating toggle
floating_modifier Mod1
bindsym $Mod+Shift+space floating toggle
floating_modifier Mod1
# change focus
bindsym $Mod+$left focus left
@ -198,8 +196,8 @@ bindsym $Mod+Down focus down
bindsym $Mod+Up focus up
bindsym $Mod+Right focus right
bindsym $Mod+p focus parent
bindsym $Mod+c focus child
bindsym $Mod+p focus parent
bindsym $Mod+c focus child
# move focused window
bindsym $Mod+Shift+$left move left 10px
@ -214,10 +212,10 @@ bindsym $Mod+Shift+Left move left 10px
bindsym $Mod+Shift+Right move right 10px
# Size
bindsym Mod1+Up resize shrink height 10 px or 1 ppt
bindsym Mod1+Down resize grow height 10 px or 1 ppt
bindsym Mod1+Left resize shrink width 10 px or 1 ppt
bindsym Mod1+Right resize grow width 10 px or 1 ppt
bindsym Mod1+Up resize shrink height 10 px or 1 ppt
bindsym Mod1+Down resize grow height 10 px or 1 ppt
bindsym Mod1+Left resize shrink width 10 px or 1 ppt
bindsym Mod1+Right resize grow width 10 px or 1 ppt
# layout toggle, keycode 23 is Tab
bindcode Mod1+23 layout toggle tabbed split
@ -255,7 +253,6 @@ 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
@ -266,29 +263,20 @@ bindsym $Mod+Control+Shift+minus gaps outer all minus 5
################# application settings #################
####################################################################################################
# focus & floating
for_window [class="(?i)(?:lxapp\w+|peek)"] floating enable, focus
for_window [class="(?i)(?:gpic\w+|gvim)"] floating enable, focus
for_window [class="(?i)(?:deluge|nitrogen)"] floating enable, focus
for_window [class="(?i)(?:qt5ct|pinentry)"] floating enable, focus
for_window [class="(?i)(?:termite|thunar)"] focus
for_window [class="(?i)(?:geany|firefox)"] focus
for_window [class="(?i)(?:qt5ct|pinentry)"] floating enable, focus
for_window [class="(?i)(?:termite|thunar)"] focus
for_window [class="(?i)(?:geany|firefox)"] focus
# Assign Applications to specific workspace
# get class with xprop
assign [class="(?i)(?:firefox)"] → $WS1
assign [class="(?i)(?:geany)"] → $WS2
assign [class="(?i)(?:thunar)"] → $WS3
assign [class="(?i)(?:gimp|nitrogen)"] → $WS4
assign [class="(?i)(?:firefox)"] → $WS1
assign [class="(?i)(?:geany)"] → $WS2
assign [class="(?i)(?:thunar)"] → $WS3
# focus, floating, & sticky
for_window [title="(?i)(?:copying|deleting|moving|auth\w+)"] floating enable, sticky enable
for_window [window_role="(?i)(?:pop-up|setup|preferen\w+)"] floating enable, sticky enable
for_window [title="(?i)(?:copying|deleting|moving)"] floating enable
for_window [window_role="(?i)(?:pop-up|setup)"] floating enable
# set trayer to be borderless
for_window [class="(?i)trayer"] border pixel 0
# start on main workspaces when reloading i3 (keep me at the bottom)
exec_always --no-startup-id i3-msg 'workspace $WS5, workspace $WS1'

View File

@ -1,43 +1,43 @@
# jgmenurc
at_pointer = 0
stay_alive = 1
multi_window = 1
tint2_look = 1
csv_cmd = lx
at_pointer = 0
stay_alive = 1
multi_window = 1
tint2_look = 1
csv_cmd = lx
menu_halign = left
menu_valign = top
menu_margin_x = 4
menu_margin_y = 32
menu_halign = left
menu_valign = top
menu_margin_x = 4
menu_margin_y = 32
menu_width = 200
menu_radius = 0
menu_border = 1
menu_width = 200
menu_radius = 0
menu_border = 1
menu_padding_top = 10
menu_padding_right = 2
menu_padding_top = 10
menu_padding_right = 2
menu_padding_bottom = 5
menu_padding_left = 2
menu_padding_left = 2
item_height = 30
item_padding_x = 8
item_margin_y = 5
item_radius = 0
item_border = 0
sep_height = 5
item_height = 30
item_padding_x = 8
item_margin_y = 5
item_radius = 0
item_border = 0
sep_height = 5
icon_size = 24
font = Ubuntu 12px
icon_size = 24
font = Ubuntu 12px
sub_hover_action = 1
terminal_exec = termite
terminal_args = -e
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
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

View File

@ -74,29 +74,29 @@
our $CONFIG = {
"editor" => "exo-open",
"Linux::DesktopFiles" => {
desktop_files_paths => [
"/usr/share/applications",
"/usr/local/share/applications",
"/usr/share/applications/kde4",
"$ENV{HOME}/.local/share/applications",
],
gtk_rc_filename => "$ENV{HOME}/.gtkrc-2.0",
icon_dirs_first => undef,
icon_dirs_last => undef,
icon_dirs_second => undef,
keep_unknown_categories => 1,
skip_entry => undef,
skip_filename_re => undef,
skip_svg_icons => 0,
strict_icon_dirs => undef,
substitutions => undef,
terminalization_format => "%s -e '%s'",
terminalize => 1,
unknown_category_key => "other",
"Linux::DesktopFiles" => {
desktop_files_paths => [
"/usr/share/applications",
"/usr/local/share/applications",
"/usr/share/applications/kde4",
"$ENV{HOME}/.local/share/applications",
],
gtk_rc_filename => "$ENV{HOME}/.gtkrc-2.0",
icon_dirs_first => undef,
icon_dirs_last => undef,
icon_dirs_second => undef,
keep_unknown_categories => 1,
skip_entry => undef,
skip_filename_re => undef,
skip_svg_icons => 0,
strict_icon_dirs => undef,
substitutions => undef,
terminalization_format => "%s -e '%s'",
terminalize => 1,
unknown_category_key => "other",
},
"missing_icon" => "gtk-missing-image",
"name_keys" => ["Name"],
"terminal" => "termite",
"VERSION" => 0.71,
"missing_icon" => "gtk-missing-image",
"name_keys" => ["Name"],
"terminal" => "termite",
"VERSION" => 0.71,
}

View File

@ -4,16 +4,16 @@
=for comment
item: add an item inside the menu {item => ["command", "label", "icon"]},
cat: add a category inside the menu {cat => ["name", "label", "icon"]},
sep: horizontal line separator {sep => undef}, {sep => "label"},
pipe: a pipe menu entry {pipe => ["command", "label", "icon"]},
file: include the content of an XML file {file => "/path/to/file.xml"},
raw: any XML data supported by Openbox {raw => q(xml data)},
item: add an item inside the menu {item => ["command", "label", "icon"]},
cat: add a category inside the menu {cat => ["name", "label", "icon"]},
sep: horizontal line separator {sep => undef}, {sep => "label"},
pipe: a pipe menu entry {pipe => ["command", "label", "icon"]},
file: include the content of an XML file {file => "/path/to/file.xml"},
raw: any XML data supported by Openbox {raw => q(xml data)},
begin_cat: beginning of a category {begin_cat => ["name", "icon"]},
end_cat: end of a category {end_cat => undef},
end_cat: end of a category {end_cat => undef},
obgenmenu: generic menu settings {obgenmenu => ["label", "icon"]},
exit: default "Exit" action {exit => ["label", "icon"]},
exit: default "Exit" action {exit => ["label", "icon"]},
=cut

View File

@ -1,205 +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>
<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="Menu Editor">
<action name="Execute">
<command>kickshaw</command>
</action>
<item label="Web Browser">
<action name="Execute">
<command>exo-open --launch WebBrowser</command>
</action>
</item>
<item label="Keybind Editor">
<action name="Execute">
<command>obkey</command>
</action>
<item label="File Manager">
<action name="Execute">
<command>exo-open --launch FileManager</command>
</action>
</item>
<item label="Autostart Editor">
<action name="Execute">
<command>ob-autostart</command>
</action>
<item label="Text Editor">
<action name="Execute">
<command>geany</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>
<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="Openbox Reconfigure">
<action name="Reconfigure"/>
<item label="Lock Screen">
<action name="Execute">
<command>i3lock-fancy -p</command>
</action>
</item>
<item label="Openbox Restart">
<action name="Restart"/>
<item label="Exit Openbox">
<action name="Execute">
<command>rofr.sh -l</command>
</action>
</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>rofi-logout</command>
</action>
</item>
</menu>
</openbox_menu>

File diff suppressed because it is too large Load Diff

View File

@ -17,7 +17,7 @@ inherit = bar/master
; Use $ xrandr -q | grep " connected" | cut -d ' ' -f1
monitor =
modules-left = jgmenu config workspaces
modules-left = jgmenu workspaces
modules-center = window_switch clock
modules-right = pkg memory temperature coreuse network volume
@ -44,7 +44,7 @@ inherit = bar/master
; Use $ xrandr -q | grep " connected" | cut -d ' ' -f1
monitor =
modules-left = jgmenu config i3 menu
modules-left = jgmenu i3 menu
modules-center = clock
modules-right = pkg memory temperature coreuse network volume

View File

@ -5,61 +5,61 @@
[colors]
background = #2b303b
foreground = #c0c5ce
moderate = #ebcb8b
urgent = #bf616a
trim = #8fa1b3
blue = #8fa1b3
pink = #bf616a
orange = #ebcb8b
purple = #b48ead
yellow = #ebcb8b
border = #c0c5ce
moderate = #ebcb8b
urgent = #bf616a
trim = #8fa1b3
blue = #8fa1b3
pink = #bf616a
orange = #ebcb8b
purple = #b48ead
yellow = #ebcb8b
border = #c0c5ce
[settings]
throttle-output = 5
throttle-output-for = 10
throttle-input-for = 30
throttle-output = 5
throttle-output-for = 10
throttle-input-for = 30
compositing-background = source
compositing-foreground = source
compositing-overline = source
compositing-underline = source
compositing-border = source
screenchange-reload = true
format-foreground = ${colors.foreground}
format-background = ${colors.background}
compositing-overline = source
compositing-underline = source
compositing-border = source
screenchange-reload = true
format-foreground = ${colors.foreground}
format-background = ${colors.background}
;=====================================================
; Master Bar
;=====================================================
[bar/master]
width = 100%
height = 24
border-size = 0
border-top-size = 0
border-bottom-size = 2
radius = 0
bottom = false
line-size = 2
font-0 = "DejaVu Sans Mono:size=10:antialias=false;2"
font-1 = "FontAwesome:size=10:antialias=false;2"
font-2 = "MaterialIcons:size=10:antialias=false;2"
font-3 = "icomoon:size=10:antialias=false;2"
font-4 = "Ubuntu Nerd Font:size=10:antialias=false;2"
offset-x = 0
offset-y = 0
fixed-center = true
border-color = ${colors.border}
background = ${colors.background}
foreground = ${colors.foreground}
module-margin = 0
padding-right = 0
padding-left = 0
separator = │
scroll-up = pamixer -i 2
scroll-down = pamixer -d 2
click-middle = skippy-xd --activate-window-picker
double-click-left = networkmanager_dmenu
width = 100%
height = 24
border-size = 0
border-top-size = 0
border-bottom-size = 2
radius = 0
bottom = false
line-size = 2
font-0 = "DejaVu Sans Mono:size=10:antialias=false;2"
font-1 = "FontAwesome:size=10:antialias=false;2"
font-2 = "MaterialIcons:size=10:antialias=false;2"
font-3 = "icomoon:size=10:antialias=false;2"
font-4 = "Ubuntu Nerd Font:size=10:antialias=false;2"
offset-x = 0
offset-y = 0
fixed-center = true
border-color = ${colors.border}
background = ${colors.background}
foreground = ${colors.foreground}
module-margin = 0
padding-right = 0
padding-left = 0
separator = │
scroll-up = pamixer -i 2
scroll-down = pamixer -d 2
click-middle = skippy-xd --activate-window-picker
double-click-left = networkmanager_dmenu
double-click-middle = skippy-xd --activate-window-picker
double-click-right = pavucontrol &
double-click-right = pavucontrol &

View File

@ -1,65 +0,0 @@
;=====================================================
; Colors & Settings
;=====================================================
[colors]
background = {{.Data.bar_background}}
foreground = {{.Data.terminal_foreground}}
moderate = {{index .Data.terminal_colors 3}}
urgent = {{index .Data.terminal_colors 1}}
trim = {{index .Data.terminal_colors 4}}
blue = {{index .Data.terminal_colors 4}}
pink = {{index .Data.terminal_colors 1}}
orange = {{index .Data.terminal_colors 3}}
purple = {{index .Data.terminal_colors 5}}
yellow = {{index .Data.terminal_colors 3}}
border = {{.Data.border_color}}
[settings]
throttle-output = 5
throttle-output-for = 10
throttle-input-for = 30
compositing-background = source
compositing-foreground = source
compositing-overline = source
compositing-underline = source
compositing-border = source
screenchange-reload = true
format-foreground = ${colors.foreground}
format-background = ${colors.background}
;=====================================================
; Master Bar
;=====================================================
[bar/master]
width = {{.Data.bar_width}}
height = {{.Data.bar_height}}
border-size = {{.Data.border_all}}
border-top-size = {{.Data.border_top}}
border-bottom-size = {{.Data.border_bottom}}
radius = {{.Data.bar_radius}}
bottom = {{.Data.bar_bottom}}
line-size = {{.Data.border_pixels}}
font-0 = "{{.Data.bar_font0}}"
font-1 = "FontAwesome:size=10:antialias=false;2"
font-2 = "MaterialIcons:size=10:antialias=false;2"
font-3 = "icomoon:size=10:antialias=false;2"
font-4 = "Ubuntu Nerd Font:size=10:antialias=false;2"
offset-x = 0
offset-y = 0
fixed-center = true
border-color = ${colors.border}
background = ${colors.background}
foreground = ${colors.foreground}
module-margin = 0
padding-right = 0
padding-left = 0
separator = │
scroll-up = pamixer -i 2
scroll-down = pamixer -d 2
click-middle = skippy-xd --activate-window-picker
double-click-left = networkmanager_dmenu
double-click-middle = skippy-xd --activate-window-picker
double-click-right = pavucontrol &

View File

@ -6,28 +6,13 @@
;; Jgmenu ;;
;;;;;;;;;;;;;;;
[module/jgmenu]
type = custom/script
label = %output%
type = custom/script
label = %output%
label-padding = 2
interval = 10
exec = echo ""
click-left = "jgmenu_run >/dev/null 2>&1 &"
click-right = exo-open $HOME/.config/jgmenu/jgmenurc
;;;;;;;;;;;;;;;;;;;;;;;;
;; GoRice Config UI ;;
;;;;;;;;;;;;;;;;;;;;;;;;
[module/config]
type = custom/script
interval = 5
label = %output%
format-padding = 1
format = <label>
click-right = termite "--exec=gorice edit i3/current" &
click-left = gorice dump i3 ~/.gorice/output.yaml.template; config_ui &
exec = echo ""
;exec = grep "current" data.json | cut -d '"' -f22 | cut -d . -f1 | cut -d / -f2 | tr '[:lower:]' '[:upper:]'
interval = 10
exec = echo ""
click-left = "jgmenu_run >/dev/null 2>&1 &"
click-right = exo-open $HOME/.config/jgmenu/jgmenurc
;;;;;;;;;;;;;;;;;;;;;;;;
@ -36,8 +21,8 @@ exec = echo ""
[module/workspaces]
type = internal/xworkspaces
pin-workspaces = false
enable-click = true
enable-scroll = true
enable-click = true
enable-scroll = true
format-padding = 0
icon-0 = 1;
icon-1 = 2;
@ -51,20 +36,20 @@ icon-8 = 9;
icon-9 = 10;
icon-default =
format = <label-state>
label-active = %icon% %name%
label-active = %icon% %name%
label-occupied = %icon% %name%
label-urgent = %icon% %name%
label-empty = %icon% %name%
label-occupied-padding = 1
label-empty-padding = 1
label-urgent-padding = 1
label-active-padding = 1
label-active-foreground = ${colors.blue}
label-active-underline = ${colors.blue}
label-urgent = %icon% %name%
label-empty = %icon% %name%
label-occupied-padding = 1
label-empty-padding = 1
label-urgent-padding = 1
label-active-padding = 1
label-active-foreground = ${colors.blue}
label-active-underline = ${colors.blue}
label-occupied-underline = ${colors.blue}
label-urgent-foreground = ${colors.urgent}
label-urgent-underline = ${colors.urgent}
label-empty-foreground = ${colors.foreground}
label-urgent-foreground = ${colors.urgent}
label-urgent-underline = ${colors.urgent}
label-empty-foreground = ${colors.foreground}
;;;;;;;;;;;;;;;;;;;
@ -95,18 +80,17 @@ label-visible-underline = ${colors.trim}
label-urgent-underline = ${colors.urgent}
;;;;;;;;;;;;;;;;;;;;
;;Bspwm Workspaces;;
;;;;;;;;;;;;;;;;;;;;
[module/bspwm]
type = internal/bspwm
pin-workspaces = true
inline-mode = false
enable-click = true
enable-scroll = false
inline-mode = false
enable-click = true
enable-scroll = false
reverse-scroll = false
fuzzy-match = false
fuzzy-match = false
; ws-icon-[0-9]+ = label;icon
; Note that the label needs to correspond with the bspwm workspace name
ws-icon-0 = I;
@ -120,7 +104,6 @@ ws-icon-7 = VIII;
ws-icon-8 = IX;
ws-icon-9 = X;
;ws-icon-default = ♟
format = <label-state> <label-mode>
label-monitor = %name%
label-mode-padding = 1
@ -140,7 +123,6 @@ label-focused-underline = ${colors.blue}
label-occupied-underline = ${colors.purple}
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-mode>
label-monocle = 
@ -156,17 +138,16 @@ label-locked-foreground = ${colors.yellow}
label-private-foreground = ${colors.urgent}
;;;;;;;;;;;;;
;; Network ;;
;;;;;;;;;;;;;
[module/network]
type = custom/script
exec = check-network
click-left = networkmanager_dmenu &
click-right = networkmanager_dmenu &
click-left = networkmanager_dmenu &
click-right = networkmanager_dmenu &
label-padding = 1
tail = true
tail = true
;;;;;;;;;;;;;;;;;;;
@ -174,12 +155,12 @@ tail = true
;;;;;;;;;;;;;;;;;;;
[module/window_switch]
type = custom/script
interval = 5
label = %output%
click-left = skippy-xd
interval = 5
label = %output%
click-left = skippy-xd
click-right = skippy-xd
exec = echo "  "
format = <label>
exec = echo "  "
format = <label>
;;;;;;;;;
@ -187,10 +168,10 @@ format = <label>
;;;;;;;;;
[module/coreuse]
type = internal/cpu
interval = 1
format-padding = 1
format = <label><ramp-coreload>
label = %{A1:termite --exec=htop & disown:} %percentage%% %{A}
interval = 1
format-padding = 1
format = <label><ramp-coreload>
label = %{A1:termite --exec=htop & disown:} %percentage%% %{A}
ramp-coreload-0 = ▂
ramp-coreload-1 = ▃
ramp-coreload-2 = ▄
@ -209,33 +190,33 @@ ramp-coreload-5-foreground = ${colors.urgent}
;; MEM ;;
;;;;;;;;;
[module/memory]
type = internal/memory
interval = 3
format = <label>
type = internal/memory
interval = 3
format = <label>
label-padding = 1
label = %{A1:termite --exec=htop & disown:} %percentage_used%%%{A}
label = %{A1:termite --exec=htop & disown:} %percentage_used%%%{A}
;;;;;;;;;
;; PKG ;;
;;;;;;;;;
[module/pkg]
type = custom/script
exec = check-updates
type = custom/script
exec = updates.sh
exec-if = "ping -q -w 2 -c 1 176.34.135.167 > /dev/null"
label = %{A1:termite --exec=pacli & disown:} %{A3:termite --exec=pacli & disown:}%output%%{A} %{A}
tail = true
label = %{A1:termite --exec=pacli & disown:} %{A3:termite --exec=pacli & disown:}%output%%{A} %{A}
tail = true
;;;;;;;;;;;
;; Clock ;;
;;;;;;;;;;;
[module/clock]
type = internal/date
format = <label>
type = internal/date
format = <label>
lebel-padding = 1
interval = 5
time = %R
interval = 5
time = %R
label = %{A1:gsimplecal & disown:} %{A3:gsimplecal & disown:} %time%%{A} %{A}
@ -244,22 +225,22 @@ label = %{A1:gsimplecal & disown:} %{A3:gsimplecal & disown:} %time%%{A} %{A}
;;;;;;;;;;;;;;;;;
[module/temperature]
type = internal/temperature
interval = 3
thermal-zone = 0
interval = 3
thermal-zone = 0
warn-temperature = 70
format = <ramp><label>
format-padding = 1
format = <ramp><label>
format-padding = 1
label = %{A1:termite --exec='watch sensors' & disown:} %temperature%%{A}
ramp-0 = ""
ramp-1 = ""
ramp-2 = ""
ramp-3 = ""
ramp-0-foreground = ${colors.blue}
ramp-1-foreground = ${colors.pink}
ramp-2-foreground = ${colors.purple}
ramp-3-foreground = ${colors.urgent}
format-warn = <label-warn>
label-warn = " %temperature%"
ramp-0-foreground = ${colors.blue}
ramp-1-foreground = ${colors.pink}
ramp-2-foreground = ${colors.purple}
ramp-3-foreground = ${colors.urgent}
format-warn = <label-warn>
label-warn = " %temperature%"
label-warn-padding = 1
label-warn-foreground = ${colors.urgent}
@ -292,7 +273,7 @@ ramp-volume-3-foreground = ${colors.urgent}
[module/battery]
type = internal/battery
; Use $ ls -1 /sys/class/power_supply/
battery = BAT1
battery = BAT0
adapter = AC
full-at = 98
poll-interval = 5
@ -374,34 +355,34 @@ menu-3-3-exec = systemctl poweroff
;;;;;;;;;;;;;;;;;;;;
[module/compton_toggle]
type = custom/script
tail = true
label = %output%
click-left = toggle-compton --toggle &
exec = toggle-compton
format = <label>
tail = true
label = %output%
click-left = toggle.sh -c -tg &
exec = toggle.sh -c
format = <label>
;;;;;;;;;;;;;;;
;; KEYBOARD ;;
;;;;;;;;;;;;;;;
[module/keyboard]
type = internal/xkeyboard
blacklist-0 = num lock
blacklist-1 = scroll lock
format = <label-layout>
type = internal/xkeyboard
blacklist-0 = num lock
blacklist-1 = scroll lock
format = <label-layout>
format-padding = 1
label-layout = %{A1:mintlocale & disown:} %{A3:mintlocale & disown:} %layout%%{A} %{A}
label-layout = %{A1:mintlocale & disown:} %{A3:mintlocale & disown:} %layout%%{A} %{A}
;;;;;;;;;;;;;;
;; ETHERNET ;;
;;;;;;;;;;;;;;
[module/wired-network]
type = internal/network
interface =
format-connected = <label-connected>
type = internal/network
interface =
format-connected = <label-connected>
format-disconnected = <label-disconnected>
label-connected =  %local_ip%
label-connected =  %local_ip%
format-connected-foreground = ${colors.purple}
@ -409,24 +390,24 @@ format-connected-foreground = ${colors.purple}
;; REDSHIFT ;;
;;;;;;;;;;;;;;
[module/redshift]
type = custom/script
tail = true
exec = toggle-redshift
label = %output%
click-left = toggle-redshift --toggle &
type = custom/script
tail = true
exec = toggle.sh -r
label = %output%
click-left = toggle.sh -r -tg &
;;;;;;;;;;;;;;;;
;; FILESYSTEM ;;
;;;;;;;;;;;;;;;;
[module/filesystem]
type = internal/fs
type = internal/fs
format-mounted = <label-mounted>
label-mounted = %mountpoint% : %percentage_free%%
mount-0 = /
interval = 1200
fixed-values = false
spacing = 2
label-mounted = %mountpoint% : %percentage_free%%
mount-0 = /
interval = 1200
fixed-values = false
spacing = 2
label-mounted-foreground = ${colors.yellow}
@ -435,27 +416,27 @@ label-mounted-foreground = ${colors.yellow}
;;;;;;;;;
[module/mpd]
type = internal/mpd
format-online = <bar-progress> <icon-prev> <icon-stop> <toggle> <icon-next> <label-song>
format-offline = <label-offline>
bar-progress-format = %{+o +u}%fill%%{-o -u}%indicator%%{+o +u}%empty%%{-u -o}
label-offline = mpd is off
format-online = <bar-progress> <icon-prev> <icon-stop> <toggle> <icon-next> <label-song>
format-offline = <label-offline>
bar-progress-format = %{+o +u}%fill%%{-o -u}%indicator%%{+o +u}%empty%%{-u -o}
label-offline = mpd is off
format-online-prefix = " "
icon-play = 
icon-pause = 
icon-stop = 
icon-prev = 
icon-next = 
icon-play = 
icon-pause = 
icon-stop = 
icon-prev = 
icon-next = 
icon-random = 
icon-repeat = 
toggle-on-foreground =
toggle-off-foreground = #55
bar-progress-width = 35
toggle-on-foreground =
toggle-off-foreground = #55
bar-progress-width = 35
bar-progress-indicator = █
bar-progress-fill = █
bar-progress-empty = ▒
bar-progress-empty-font = 2
bar-progress-indicator-font = 2
bar-progress-fill-font = 2
bar-progress-empty-font = 2
bar-progress-indicator-font = 2
bar-progress-fill-font = 2
bar-progress-fill-foreground = #bb
bar-progress-empty-foreground = #44
bar-progress-indicator-foreground = #A85659

View File

@ -1 +0,0 @@
rofi.theme: /usr/share/rofi/themes//archlabs-shadow.rasi

View File

@ -7,8 +7,8 @@ files=("$HOME/.config/polybar/config"
"$HOME/.config/polybar/sessions/i3-sessionfile"
"$HOME/.config/polybar/sessions/bspwm-sessionfile"
"$HOME/.config/polybar/sessions/openbox-sessionfile"
"$HOME/.config/openbox/autostart"
"$HOME/.config/gtk-3.0/bookmarks"
"$HOME/.gorice/templates/i3/data.json"
"$HOME/.mozilla/firefox/archlabs.default/prefs.js"
"$HOME/.mozilla/firefox/archlabs.default/sessionstore.js"
)

View File

@ -12,11 +12,11 @@ super + f
# program launcher
super + @space
rofi-apps
rofr.sh -r
# program launcher
alt + F1
rofi-gorice
rofr.sh -r
# make sxhkd reload its configuration files:
super + shift + r
@ -24,7 +24,7 @@ super + shift + r
# quit bspwm normally
super + x
rofi-logout
rofr.sh -l
# close and kill
super + {_,shift + }q
@ -124,25 +124,14 @@ super + alt + shift + {h,j,k,l}
super + {Left,Down,Up,Right}
bspc node -v {-20 0,0 20,0 -20,20 0}
# VOLUME
### Mute
XF86AudioMute
pamixer -t
### Master Volume
XF86AudioRaiseVolume
pamixer -i 2
XF86AudioLowerVolume
pamixer -d 2
# BRIGHTNESS
# Brightness goes up
XF86MonBrightnessUp
xbacklight +10
# Brightness goes down
XF86MonBrightnessDown
xbacklight -10

View File

@ -1,55 +0,0 @@
[options]
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 = {{.Data.terminal_font}}
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 = {{.Data.terminal_termbackground}}
foreground = {{.Data.terminal_foreground}}
foreground_bold = {{.Data.terminal_bold}}
cursor = {{.Data.terminal_foreground}}
# Black, Gray, Silver, White
color0 = {{index .Data.terminal_colors 0}}
color8 = {{index .Data.terminal_colors 7}}
color7 = {{index .Data.terminal_colors 8}}
color15 = {{.Data.terminal_foreground}}
# Red
color1 = {{index .Data.terminal_colors 1}}
color9 = {{index .Data.terminal_colors 1}}
# Green
color2 = {{index .Data.terminal_colors 2}}
color10 = {{index .Data.terminal_colors 2}}
# Yellow
color3 = {{index .Data.terminal_colors 3}}
color11 = {{index .Data.terminal_colors 3}}
# Blue
color4 = {{index .Data.terminal_colors 4}}
color12 = {{index .Data.terminal_colors 4}}
# Purple
color5 = {{index .Data.terminal_colors 5}}
color13 = {{index .Data.terminal_colors 5}}
# Teal
color6 = {{index .Data.terminal_colors 6}}
color14 = {{index .Data.terminal_colors 6}}

View File

@ -1,24 +0,0 @@
configs:
{{range .}}
{{.Name}}:
background: "{{.Data.terminal_background}}"
foreground: "{{.Data.terminal_foreground}}"
bold: "{{.Data.terminal_bold}}"
term-background: "{{.Data.terminal_termbackground}}"
font: "{{.Data.terminal_font}}"
colors:{{range .Data.terminal_colors}}
- "{{.}}"{{end}}
bar/i3-border: "{{.Data.border_pixels}}"
bar-border-all: "{{.Data.border_all}}"
bar-border-top: "{{.Data.border_top}}"
bar-border-bottom: "{{.Data.border_bottom}}"
bar-border-color: "{{.Data.border_color}}"
i3gap-inner: "{{.Data.gap_inner}}"
i3gap-outer: "{{.Data.gap_outer}}"
bar-height: "{{.Data.bar_height}}"
bar-width: "{{.Data.bar_width}}"
bar-radius: "{{.Data.bar_radius}}"
bar-bottom: "{{.Data.bar_bottom}}"
bar-background: "{{.Data.bar_background}}"
bar-font: "{{.Data.bar_font0}}"
{{end}}

View File

@ -1,32 +0,0 @@
# background and foreground MUST exist and MUST be hex color values
# names cannot contain '-'
terminal:
background: "#444444"
foreground: "#EFEFEC"
bold: "#EFEFEC"
termbackground: "rgba(68,68,68,0.80)"
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
border:
pixels: 2
all: 0
top: 0
bottom: 0
color: "#444444"
gap:
inner: 10
outer: 5
bar:
height: 22
width: "100%"
radius: 3
bottom: "false"
background: "#e1444444"
font0: "xos4 Terminus:size=10:antialias=false;2"

View File

@ -1,31 +0,0 @@
# background and foreground MUST exist and MUST be hex color values
# names cannot contain '-'
terminal:
background: "#212121"
foreground: "#F1F1F1"
bold: "#A9A9A9"
termbackground: "rgba(33,33,33,0.80)"
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
border:
pixels: 2
all: 0
top: 0
bottom: 0
color: "#F1F1F1"
gap:
inner: 15
outer: 0
bar:
height: 24
width: "100%"
radius: 0
bottom: "false"
background: "#252E35"
font0: "DejaVu Sans Mono:size=10:antialias=false;2"

View File

@ -1,31 +0,0 @@
# background and foreground MUST exist and MUST be hex color values
# names cannot contain '-'
terminal:
background: "#F6F6F6"
foreground: "#1D1D1D"
bold: "#A9A9A9"
termbackground: "rgba(250,250,250,0.80)"
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
border:
pixels: 2
all: 0
top: 0
bottom: 0
color: "#1D1D1D"
gap:
inner: 15
outer: 0
bar:
height: 24
width: "100%"
radius: 0
bottom: "false"
background: "#F6F6F6"
font0: "DejaVu Sans Mono:size=10:antialias=false;2"

View File

@ -1,33 +0,0 @@
# background and foreground MUST exist and MUST be hex color values
# names cannot contain '-'
terminal:
background: "#2b303b"
foreground: "#c0c5ce"
bold: "#c0c5ce"
termbackground: "rgba(43,48,59,0.80)"
font: "Fantasque Sans Mono 12"
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
# things to do with the bars borders mostly
border:
pixels: 2
all: 0
top: 0
bottom: 2
color: "#c0c5ce"
# in openbox this handles the menu gaps
gap:
inner: 10
outer: 0
# more bar related stuff, like the main font & size
bar:
height: 28
width: "100%"
radius: 0
bottom: "false"
background: "#2b303b"
font0: "DejaVu Sans Mono:size=10:antialias=false;2"

View File

@ -1,32 +0,0 @@
# background and foreground MUST exist and MUST be hex color values
# names cannot contain '-'
terminal:
background: "#666666"
foreground: "#baacc5"
bold: "#4c5068"
termbackground: "rgba(102,102,102,0.80)"
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
border:
pixels: 4
all: 0
top: 0
bottom: 0
color: "#00000000"
gap:
inner: 20
outer: 0
bar:
height: 24
width: "100%"
radius: 0
bottom: "false"
background: "#e1666666"
font0: "xos4 Terminus:size=10:antialias=false;2"

View File

@ -1 +0,0 @@
{"files":["/home/liveuser/.config/polybar/master.conf","/home/liveuser/.config/termite/config","/home/liveuser/.config/dunst/dunstrc","/home/liveuser/.Xresources","/home/liveuser/.themes/gorice/openbox-3/themerc","/home/liveuser/bin/rofi-gorice","/home/liveuser/bin/rofi-logout"],"current":"i3/archlabs.yaml"}

View File

@ -1,33 +0,0 @@
# background and foreground MUST exist and MUST be hex color values
# names cannot contain '-'
terminal:
background: ""
foreground: ""
bold: ""
termbackground: ""
font: "Anonymice Nerd Font 10"
colors: ["", "", "", "", "", "", "", "", ""]
# colors 0=black 1=red 2=green 3=yellow 4=blue 5=purple 6=cyan 7=grey 8=white
border:
pixels: 2
all: 0
top: 0
bottom: 0
color: ""
gap:
inner: 20
outer: 0
bar:
height: 20
width: "100%"
radius: 0
bottom: "false"
background: ""
font0: "DejaVu Sans Mono:size=10:antialias=false;2"

View File

@ -1,32 +0,0 @@
# background and foreground MUST exist and MUST be hex color values
# names cannot contain '-'
terminal:
background: "#E1E1E1"
foreground: "#131313"
bold: "#A9A9A9"
termbackground: "rgba(240,240,240,0.80)"
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
border:
pixels: 2
all: 10
top: 0
bottom: 10
color: "#00000000"
gap:
inner: 15
outer: 0
bar:
height: 26
width: "100%"
radius: 6
bottom: "true"
background: "#61EFF0F1"
font0: "DejaVu Sans Mono:size=10:antialias=false;2"

View File

@ -1,32 +0,0 @@
# background and foreground MUST exist and MUST be hex color values
# names cannot contain '-'
terminal:
background: "#0d0d1b"
foreground: "#ccccce"
bold: "#ccccce"
termbackground: "rgba(13,13,27,0.95)"
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
border:
pixels: 2
all: 0
top: 0
bottom: 0
color: "#0d0d1b"
gap:
inner: 10
outer: 0
bar:
height: 20
width: "100%"
radius: 0
bottom: "false"
background: "#e10d0d1b"
font0: "xos4 Terminus:size=10:antialias=false;2"

View File

@ -1,32 +0,0 @@
# background and foreground MUST exist and MUST be hex color values
# names cannot contain '-'
terminal:
background: "#0a0a0a"
foreground: "#ffffff"
bold: "#c5c8c6"
termbackground: "rgba(10,10,10,0.80)"
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
border:
pixels: 4
all: 12
top: 8
bottom: 0
color: "#00000000"
gap:
inner: 20
outer: 10
bar:
height: 24
width: "100%"
radius: 6
bottom: "false"
background: "#e10a0a0a"
font0: "Monospace:size=9:antialias=false;2"

View File

@ -1,32 +0,0 @@
# background and foreground MUST exist and MUST be hex color values
# names cannot contain '-'
terminal:
background: "#1C151C"
foreground: "#F6F6F6"
bold: "#A9A9A9"
termbackground: "rgba(28,21,28,0.80)"
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
border:
pixels: 3
all: 0
top: 0
bottom: 0
color: "#1C151C"
gap:
inner: 15
outer: 0
bar:
height: 24
width: "100%"
radius: 0
bottom: "false"
background: "#ED1C151C"
font0: "xos4 Terminus:size=10:antialias=false;2"

View File

@ -1,32 +0,0 @@
# background and foreground MUST exist and MUST be hex color values
# names cannot contain '-'
terminal:
background: "#404552"
foreground: "#c5c8c6"
bold: "#A9A9A9"
termbackground: "rgba(64,69,82,0.80)"
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
border:
pixels: 3
all: 0
top: 0
bottom: 0
color: "#00000000"
gap:
inner: 20
outer: 0
bar:
height: 20
width: "100%"
radius: 0
bottom: "false"
background: "#ED404552"
font0: "xos4 Terminus:size=10:antialias=false;2"

View File

@ -1,32 +0,0 @@
# background and foreground MUST exist and MUST be hex color values
# names cannot contain '-'
terminal:
background: "#000000"
foreground: "#bcbcbc"
bold: "#EEEEEC"
termbackground: "rgba(0,0,0,0.80)"
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
border:
pixels: 4
all: 0
top: 0
bottom: 0
color: "#000000"
gap:
inner: 20
outer: 0
bar:
height: 24
width: "100%"
radius: 0
bottom: "false"
background: "#e1000000"
font0: "xos4 Terminus:size=10:antialias=false;2"

View File

@ -1,32 +0,0 @@
# background and foreground MUST exist and MUST be hex color values
# names cannot contain '-'
terminal:
background: "#231E35"
foreground: "#27FCFD"
bold: "#A9A9A9"
termbackground: "rgba(35,30,53,0.80)"
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
border:
pixels: 2
all: 0
top: 0
bottom: 0
color: "#27FCFD"
gap:
inner: 10
outer: 0
bar:
height: 22
width: "100%"
radius: 0
bottom: "false"
background: "#231e35"
font0: "xos4 Terminus:size=10:antialias=false;2"

View File

@ -1,32 +0,0 @@
# background and foreground MUST exist and MUST be hex color values
# names cannot contain '-'
terminal:
background: "#101010"
foreground: "#ffffff"
bold: "#ffffff"
termbackground: "rgba(16,16,16,0.95)"
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
border:
pixels: 2
all: 0
top: 0
bottom: 0
color: "#ffffff"
gap:
inner: 12
outer: 0
bar:
height: 20
width: "100%"
radius: 0
bottom: "false"
background: "#e1101010"
font0: "xos4 Terminus:size=10:antialias=false;2"

View File

@ -1,8 +0,0 @@
al-compositor --restart
pkill dunst
xrdb ~/.Xresources
al-polybar-session
i3-msg restart
sleep 0.5
notify-send "Config loaded" "i3/archlabs.yaml"

View File

@ -1,8 +0,0 @@
al-compositor --restart
pkill dunst
xrdb ~/.Xresources
al-polybar-session
i3-msg restart
sleep 0.5
notify-send "Config loaded" "{{.Name}}"

View File

@ -1,33 +0,0 @@
# background and foreground MUST exist and MUST be hex color values
# names cannot contain '-'
terminal:
background: "#19043C"
foreground: "#FFF1FF"
bold: "#FFF1FF"
termbackground: "rgba(25,4,60,0.80)"
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
border:
pixels: 4
all: 20
top: 15
bottom: 0
color: "#00000000"
gap:
inner: 25
outer: 5
bar:
height: 32
width: "100%"
radius: 12
bottom: "false"
background: "#e119043C"
font0: "xos4 Terminus:size=10:antialias=false;2"

View File

@ -1,4 +0,0 @@
#define bullet_width 5
#define bullet_height 5
static unsigned char bullet_bits[] = {
0x01, 0x05, 0x15, 0x05, 0x01 };

View File

@ -1,5 +0,0 @@
#define close_width 10
#define close_height 10
static unsigned char close_bits[] = {
0x03, 0x03, 0x87, 0x03, 0xce, 0x01, 0xfc, 0x00, 0x78, 0x00, 0x78, 0x00,
0xfc, 0x00, 0xce, 0x01, 0x87, 0x03, 0x03, 0x03 };

View File

@ -1,4 +0,0 @@
#define desk_width 8
#define desk_height 8
static unsigned char desk_bits[] = {
0x00, 0x00, 0x48, 0x78, 0x7e, 0x78, 0x48, 0x00 };

View File

@ -1,4 +0,0 @@
#define desk_toggled_width 8
#define desk_toggled_height 8
static unsigned char desk_toggled_bits[] = {
0x00, 0x66, 0x66, 0x00, 0x00, 0x66, 0x66, 0x00 };

View File

@ -1,5 +0,0 @@
#define iconify_width 10
#define iconify_height 10
static unsigned char iconify_bits[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0xff, 0x03, 0xff, 0x03 };

View File

@ -1,5 +0,0 @@
#define max_width 10
#define max_height 10
static unsigned char max_bits[] = {
0xff, 0x03, 0xff, 0x03, 0x00, 0x00, 0xff, 0x03, 0xff, 0x03, 0x03, 0x03,
0x03, 0x03, 0x03, 0x03, 0xff, 0x03, 0xff, 0x03 };

View File

@ -1,5 +0,0 @@
#define max_toggled_width 10
#define max_toggled_height 10
static unsigned char max_toggled_bits[] = {
0xff, 0x03, 0xe1, 0x03, 0xe1, 0x03, 0xe1, 0x03, 0xe1, 0x03, 0xff, 0x03,
0xff, 0x03, 0xff, 0x03, 0xff, 0x03, 0xff, 0x03 };

View File

@ -1,4 +0,0 @@
#define shade_width 8
#define shade_height 8
static unsigned char shade_bits[] = {
0x7e, 0x7e, 0x7e, 0x00, 0x00, 0x00, 0x00, 0x00 };

View File

@ -1,4 +0,0 @@
#define shade_toggled_width 8
#define shade_toggled_height 8
static unsigned char shade_toggled_bits[] = {
0x18, 0x18, 0x18, 0xdb, 0xff, 0x7e, 0x3c, 0x18 };

View File

@ -1,155 +0,0 @@
# Name: Gorice Openbox theme
# Author: Nathaniel Maia
# Menu
menu.border.color: #2b303b
menu.border.width: 10
menu.title.bg: Solid Flat
menu.title.bg.color: #2b303b
menu.title.bg.shadow: 0
menu.title.text.color: #8fa1b3
menu.title.text.justify: Center
menu.items.bg: Solid Flat
menu.items.bg.color: #2b303b
menu.items.text.color: #c0c5ce
menu.items.disabled.text.color: #65737e
menu.items.active.bg: Solid Flat
menu.items.active.bg.color: #2b303b
menu.items.active.text.color: #8fa1b3
menu.separator.color: #2b303b
menu.separator.width: 1
menu.separator.padding.width: 2
menu.separator.padding.height: 4
menu.overlap.x: -12
menu.overlap.y: 0
# Window focused
window.active.title.separator.color: #2b303b
# Active window
window.active.border.color: #8fa1b3
window.active.title.bg: flat solid
window.active.title.bg.color: #2b303b
window.active.title.separator.color: #2b303b
window.active.text.justify: center
window.active.label.bg: parentrelative
window.active.label.text.color: #c0c5ce
window.active.handle.bg: flat solid
window.active.handle.bg.color: #2b303b
window.active.grip.bg: flat solid
window.active.grip.bg.color: #2b303b
window.active.button.unpressed.bg: flat solid
window.active.button.unpressed.bg.color: #2b303b
window.active.button.unpressed.image.color: #c0c5ce
window.active.button.pressed.bg: flat solid
window.active.button.pressed.bg.color: #8fa1b3
window.active.button.pressed.image.color: #c0c5ce
window.active.button.disabled.bg: flat solid
window.active.button.disabled.bg.color: #2b303b
window.active.button.disabled.image.color: #65737e
window.active.button.hover.bg: flat solid
window.active.button.hover.bg.color: #2b303b
window.active.button.hover.image.color: #8fa1b3
#window.active.button.toggled.bg: #8fa1b3
#window.active.button.toggled.image.color: #c0c5ce
# Inactive window
window.inactive.border.color: #2b303b
window.inactive.title.bg: flat solid
window.inactive.title.bg.color: #2b303b
window.inactive.title.separator.color: #2b303b
window.inactive.text.justify: center
window.inactive.label.bg: parentrelative
window.inactive.label.text.color: #2b303b
window.inactive.handle.bg: flat solid
window.inactive.handle.bg.color: #2b303b
window.inactive.grip.bg: flat solid
window.inactive.grip.bg.color: #2b303b
window.inactive.button.unpressed.bg: flat solid
window.inactive.button.unpressed.bg.color: #2b303b
window.inactive.button.unpressed.image.color: #2b303b
window.inactive.button.pressed.bg: flat solid
window.inactive.button.pressed.bg.color: #8fa1b3
window.inactive.button.pressed.image.color: #c0c5ce
window.inactive.button.disabled.bg: flat solid
window.inactive.button.disabled.bg.color: #65737e
window.inactive.button.disabled.image.color: #2b303b
window.inactive.button.hover.bg: flat solid
window.inactive.button.hover.bg.color: #2b303b
window.inactive.button.hover.image.color: #8fa1b3
# OSD
osd.border.width: 2
osd.border.color: #8fa1b3
osd.bg: flat solid
osd.bg.color: #2b303b
osd.label.bg: flat solid
osd.label.bg.color: #2b303b
osd.label.text.color: #c0c5ce
# OSD
osd.bg: Solid Flat
osd.bg.color: #2b303b
osd.bg.shadow: 0
osd.border.width: 2
osd.hilight.bg: Solid Flat
osd.hilight.bg.color: #8fa1b3
osd.unhilight.bg: flat solid
osd.unhilight.bg.color: #c0c5ce
osd.button.unpressed.bg: flat border
osd.button.unpressed.bg.color: #c0c5ce
#osd.button.unpressed.*.border.color: #2b303b
osd.button.pressed.bg: flat border
osd.button.pressed.bg.color: #8fa1b3
#osd.button.pressed.*.border.color: #c0c5ce
osd.button.focused.bg: flat solid border
osd.button.focused.bg.color: #2b303b
#osd.button.focused.*.border.color: #c0c5ce
osd.button.focused.box.color: #8fa1b3
# Fonts
window.active.label.text.font:shadow=n
window.inactive.label.text.font:shadow=n
menu.items.font:shadow=n
menu.title.text.font:shadow=n
# Everything else
border.width: 2
padding.width: 8
padding.height: 2
window.handle.width: 0
window.client.padding.width: 0
window.label.text.justify: left
#menu.overlap: 0

View File

@ -1,155 +0,0 @@
# Name: Gorice Openbox theme
# Author: Nathaniel Maia
# Menu
menu.border.color: {{.Data.terminal_background}}
menu.border.width: 10
menu.title.bg: Solid Flat
menu.title.bg.color: {{.Data.terminal_background}}
menu.title.bg.shadow: 0
menu.title.text.color: {{index .Data.terminal_colors 4}}
menu.title.text.justify: Center
menu.items.bg: Solid Flat
menu.items.bg.color: {{.Data.terminal_background}}
menu.items.text.color: {{.Data.terminal_foreground}}
menu.items.disabled.text.color: {{index .Data.terminal_colors 7}}
menu.items.active.bg: Solid Flat
menu.items.active.bg.color: {{index .Data.terminal_colors 0}}
menu.items.active.text.color: {{index .Data.terminal_colors 4}}
menu.separator.color: {{index .Data.terminal_colors 0}}
menu.separator.width: 1
menu.separator.padding.width: 2
menu.separator.padding.height: 4
menu.overlap.x: -{{.Data.gap_inner}}
menu.overlap.y: {{.Data.gap_outer}}
# Window focused
window.active.title.separator.color: {{.Data.terminal_background}}
# Active window
window.active.border.color: {{index .Data.terminal_colors 4}}
window.active.title.bg: flat solid
window.active.title.bg.color: {{.Data.terminal_background}}
window.active.title.separator.color: {{.Data.terminal_background}}
window.active.text.justify: center
window.active.label.bg: parentrelative
window.active.label.text.color: {{.Data.terminal_foreground}}
window.active.handle.bg: flat solid
window.active.handle.bg.color: {{.Data.terminal_background}}
window.active.grip.bg: flat solid
window.active.grip.bg.color: {{.Data.terminal_background}}
window.active.button.unpressed.bg: flat solid
window.active.button.unpressed.bg.color: {{.Data.terminal_background}}
window.active.button.unpressed.image.color: {{.Data.terminal_foreground}}
window.active.button.pressed.bg: flat solid
window.active.button.pressed.bg.color: {{index .Data.terminal_colors 4}}
window.active.button.pressed.image.color: {{.Data.terminal_foreground}}
window.active.button.disabled.bg: flat solid
window.active.button.disabled.bg.color: {{.Data.terminal_background}}
window.active.button.disabled.image.color: {{index .Data.terminal_colors 7}}
window.active.button.hover.bg: flat solid
window.active.button.hover.bg.color: {{.Data.terminal_background}}
window.active.button.hover.image.color: {{index .Data.terminal_colors 4}}
#window.active.button.toggled.bg: {{index .Data.terminal_colors 4}}
#window.active.button.toggled.image.color: {{.Data.terminal_foreground}}
# Inactive window
window.inactive.border.color: {{.Data.terminal_background}}
window.inactive.title.bg: flat solid
window.inactive.title.bg.color: {{.Data.terminal_background}}
window.inactive.title.separator.color: {{.Data.terminal_background}}
window.inactive.text.justify: center
window.inactive.label.bg: parentrelative
window.inactive.label.text.color: {{.Data.terminal_background}}
window.inactive.handle.bg: flat solid
window.inactive.handle.bg.color: {{.Data.terminal_background}}
window.inactive.grip.bg: flat solid
window.inactive.grip.bg.color: {{.Data.terminal_background}}
window.inactive.button.unpressed.bg: flat solid
window.inactive.button.unpressed.bg.color: {{.Data.terminal_background}}
window.inactive.button.unpressed.image.color: {{.Data.terminal_background}}
window.inactive.button.pressed.bg: flat solid
window.inactive.button.pressed.bg.color: {{index .Data.terminal_colors 4}}
window.inactive.button.pressed.image.color: {{.Data.terminal_foreground}}
window.inactive.button.disabled.bg: flat solid
window.inactive.button.disabled.bg.color: {{index .Data.terminal_colors 7}}
window.inactive.button.disabled.image.color: {{.Data.terminal_background}}
window.inactive.button.hover.bg: flat solid
window.inactive.button.hover.bg.color: {{.Data.terminal_background}}
window.inactive.button.hover.image.color: {{index .Data.terminal_colors 4}}
# OSD
osd.border.width: {{.Data.border_pixels}}
osd.border.color: {{index .Data.terminal_colors 4}}
osd.bg: flat solid
osd.bg.color: {{.Data.terminal_background}}
osd.label.bg: flat solid
osd.label.bg.color: {{.Data.terminal_background}}
osd.label.text.color: {{.Data.terminal_foreground}}
# OSD
osd.bg: Solid Flat
osd.bg.color: {{.Data.terminal_background}}
osd.bg.shadow: 0
osd.border.width: {{.Data.border_pixels}}
osd.hilight.bg: Solid Flat
osd.hilight.bg.color: {{index .Data.terminal_colors 4}}
osd.unhilight.bg: flat solid
osd.unhilight.bg.color: {{.Data.terminal_foreground}}
osd.button.unpressed.bg: flat border
osd.button.unpressed.bg.color: {{.Data.terminal_foreground}}
#osd.button.unpressed.*.border.color: {{.Data.terminal_background}}
osd.button.pressed.bg: flat border
osd.button.pressed.bg.color: {{index .Data.terminal_colors 4}}
#osd.button.pressed.*.border.color: {{.Data.terminal_foreground}}
osd.button.focused.bg: flat solid border
osd.button.focused.bg.color: {{.Data.terminal_background}}
#osd.button.focused.*.border.color: {{.Data.terminal_foreground}}
osd.button.focused.box.color: {{index .Data.terminal_colors 4}}
# Fonts
window.active.label.text.font:shadow=n
window.inactive.label.text.font:shadow=n
menu.items.font:shadow=n
menu.title.text.font:shadow=n
# Everything else
border.width: {{.Data.border_pixels}}
padding.width: 8
padding.height: {{.Data.border_pixels}}
window.handle.width: 0
window.client.padding.width: 0
window.label.text.justify: left
#menu.overlap: 0

6
home/.xprofile Executable file → Normal file
View File

@ -5,22 +5,16 @@
XDG_CONFIG_HOME=$HOME/.config
export XDG_CONFIG_HOME
# include ~/bin in path
if [ -d "$HOME/bin" ]; then
PATH=$HOME/bin:$PATH
fi
# include sbin in PATH
if [ -d "/sbin" ]; then
PATH="/sbin:$PATH"
fi
# include sbin in PATH
if [ -d "/usr/sbin" ]; then
PATH="/usr/sbin:$PATH"
fi
# launch dbus
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval $(dbus-launch --sh-syntax --exit-with-session)
fi

View File

@ -1,7 +0,0 @@
#!/bin/sh
#
# executed by xinit when using startx
# make sure to be runnning in authenticated session with logind
# this will make it so you cannot bypass screenlock by switching terminals
exec /usr/bin/Xorg -nolisten tcp "$@" vt$XDG_VTNR

View File

@ -1,36 +0,0 @@
#!/usr/bin/env bash
BAR_ICON=""
ICON=/usr/share/icons/gnome/32x32/apps/system-software-update.png
while true; do
count=$(checkupdates | wc -l)
if hash notify-send &>/dev/null; then
if [[ $count -gt 50 ]]; then
notify-send -u critical -i $ICON \
"You really need to update soon!!" "$count New package updates"
elif [[ $count -gt 25 ]]; then
notify-send -u normal -i $ICON \
"You should update soon" "$count New package updates"
elif [[ $count -gt 2 ]]; then
notify-send -u low -i $ICON \
"$count New package updates"
fi
fi
while [[ $count -gt 0 ]]; do
if [[ $count -eq 1 ]]; then
echo "$count Update"
elif [[ $count -gt 1 ]]; then
echo "$count Updates"
fi
sleep 8
count=$(checkupdates | wc -l)
done
while [[ $count -eq 0 ]]; do
echo $BAR_ICON
sleep 1200
count=$(checkupdates | wc -l)
done
done

View File

@ -1,147 +0,0 @@
#!/usr/bin/env python
import os
import struct
import subprocess
import yaml
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk, Gdk, Pango
# This is the name of the group where your configs are stored.
GROUP = 'i3'
PATH = '{}/bin/gorice'.format(os.environ['HOME'])
class Selection(Gtk.EventBox):
def __init__(self, name, colours, foreground, background, selected,
working=True):
super().__init__()
self.name = name
self.background = background
self.selected_colour = selected
if not working:
name = 'x ' + name
text = Gtk.Label(name)
hbox = Gtk.HBox()
hbox.set_size_request(0, 30)
hbox.pack_start(text, False, True, 20)
hbox.override_color(Gtk.StateType.NORMAL, Gdk.RGBA(*foreground))
hbox.override_background_color(Gtk.StateType.NORMAL, Gdk.RGBA(*background))
colour_widgets = Gtk.HBox()
for colour in colours:
box = Gtk.Box()
box.override_background_color(Gtk.StateType.NORMAL, Gdk.RGBA(*colour))
box.set_size_request(15, 15)
padding = Gtk.Alignment()
padding.set_padding(10, 10, 0, 0)
padding.add(box)
colour_widgets.pack_start(padding, False, True, 2)
hbox.pack_end(colour_widgets, False, True, 20)
self.hbox = hbox
self.connect('enter-notify-event', self.selected)
self.connect('leave-notify-event', self.unselected)
self.connect('button-press-event', self.clicked)
self.add(self.hbox)
def clicked(self, widget, button):
_, index = button.get_button()
if index == 1:
proc = subprocess.run([PATH, 'load', self.name])
Gtk.main_quit()
return None
def selected(self, *args):
# self.hbox.override_background_color(Gtk.StateType.NORMAL, Gdk.RGBA(*self.selected))
return None
def unselected(self, *args):
# self.hbox.override_background_color(Gtk.StateType.NORMAL, Gdk.RGBA(*self.selected))
return None
def load_configs():
broken = subprocess.check_output([PATH, 'check', GROUP])
broken = broken.decode('utf-8').split('\n')
output = []
path = '{}/.gorice/output.yaml'.format(os.environ['HOME'])
with open(path, 'r') as f:
data = yaml.load(f.read())
names = sorted(data['configs'])
for config in names:
info = data['configs'][config]
config, ext = os.path.splitext(config)
if config == 'i3/default':
continue
_, name = config.split('/', 1)
foreground = rgb(info['foreground'])
background = rgb(info['background'])
selection = [x+0.02 for x in background]
colours = [rgb(x) for x in info['colors']]
item = Selection(config, colours, foreground, background, selection,
working=name not in broken)
output.append(item)
return output
def rgb(colour):
colour = colour[1:]
return [x/255 for x in struct.unpack('BBB', bytes.fromhex(colour))]
def keypress(window, key):
if key.keyval == 65307:
Gtk.main_quit()
return None
def main():
configs = load_configs()
window = Gtk.Window()
window.modify_font(Pango.FontDescription('xos4 Terminus 9'))
window.set_property('type-hint', Gdk.WindowTypeHint.SPLASHSCREEN)
window.set_decorated(False)
window.set_resizable(False)
window.connect('leave-notify-event', Gtk.main_quit)
window.set_property('skip-taskbar-hint', False)
# window.set_title('bar-dropdown')
# window.set_border_width(0)
# window.stick()
window.connect('delete-event', Gtk.main_quit)
scrolled = Gtk.ScrolledWindow()
scrolled.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
box = Gtk.VBox()
for config in configs:
box.pack_start(config, False, False, 0)
scrolled.add(box)
window.add(scrolled)
window.set_size_request(200, 420)
window.show_all()
window.move(10, 35)
window.connect('key-press-event', keypress)
window.set_events(Gdk.EventMask.BUTTON_PRESS_MASK)
Gtk.main()
return None
if __name__ == "__main__":
main()

Binary file not shown.

View File

@ -1,32 +1,25 @@
#!/usr/bin/env bash
TRASH_DIRECTORY="${BLOCK_INSTANCE}"
if [[ "${TRASH_DIRECTORY}" = "" ]]; then
TRASH_DIRECTORY="${XDG_DATA_HOME:-${HOME}/.local/share}/Trash"
TRASH_DIRECTORY="$BLOCK_INSTANCE"
if [[ $TRASH_DIRECTORY = "" ]]; then
TRASH_DIRECTORY="${XDG_DATA_HOME:-$HOME/.local/share}/Trash"
fi
# Left click
if [[ "${BLOCK_BUTTON}" -eq 1 ]]; then
xdg-open "${TRASH_DIRECTORY}/files"
# Right click
elif [[ "${BLOCK_BUTTON}" -eq 3 ]]; then
# Delete all files permanently (unlink them)
rm -r "${TRASH_DIRECTORY}/files"
rm -r "${TRASH_DIRECTORY}/info"
# Create new directory
mkdir "${TRASH_DIRECTORY}/files"
mkdir "${TRASH_DIRECTORY}/info"
if [[ $BLOCK_BUTTON -eq 1 ]]; then
xdg-open "$TRASH_DIRECTORY/files"
elif [[ $BLOCK_BUTTON -eq 3 ]]; then
rm -r "$TRASH_DIRECTORY/files"
rm -r "$TRASH_DIRECTORY/info"
mkdir "$TRASH_DIRECTORY/files"
mkdir "$TRASH_DIRECTORY/info"
fi
TRASH_COUNT=$(ls -U -1 "${TRASH_DIRECTORY}/files" | wc -l)
TRASH_COUNT=$(ls -U -1 "$TRASH_DIRECTORY/files" | wc -l)
URGENT_VALUE=30
echo "${TRASH_COUNT}"
echo "${TRASH_COUNT}"
echo "$TRASH_COUNT"
echo "$TRASH_COUNT"
echo ""
if [[ "${TRASH_COUNT}" -ge "${URGENT_VALUE}" ]]; then
if [[ $TRASH_COUNT -ge $URGENT_VALUE ]]; then
exit 31
fi

View File

@ -1,6 +0,0 @@
#!/usr/bin/env bash
# do the launcher
rofi -modi run,drun,window -show drun \
-show-icons -me-select-entry '' \
-me-accept-entry 'Mouse1' -sidebar-mode

View File

@ -1,8 +0,0 @@
#!/usr/bin/env bash
rofi -no-config -modi run,drun,window -show drun \
-eh 1 -line-padding 4 -padding 50 -sidebar-mode \
-show-icons -drun-icon-theme "ArchLabs-Light" \
-font "Ubuntu 11" -color-enabled \
-color-window "#2b303b, #8fa1b3, #2b303b" \
-color-normal "#2b303b, #8fa1b3, #2b303b, #8fa1b3, #2b303b"

View File

@ -1,8 +0,0 @@
#!/usr/bin/env bash
rofi -no-config -modi run,drun,window -show drun \
-eh 1 -line-padding 4 -padding 50 -sidebar-mode \
-show-icons -drun-icon-theme "ArchLabs-Light" \
-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}}"

View File

@ -1,25 +0,0 @@
#!/usr/bin/env bash
question=$(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 "#2b303b, #8fa1b3, #2b303b" \
-color-normal "#2b303b, #8fa1b3, #2b303b, #8fa1b3, #2b303b")
case $question in
*lock)
i3lock-fancy
;;
*logout)
session-logout
;;
*reboot)
systemctl reboot
;;
*shutdown)
systemctl poweroff
;;
*)
exit 0 # do nothing on wrong response
;;
esac

View File

@ -1,25 +0,0 @@
#!/usr/bin/env bash
question=$(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}}")
case $question in
*lock)
i3lock-fancy
;;
*logout)
session-logout
;;
*reboot)
systemctl reboot
;;
*shutdown)
systemctl poweroff
;;
*)
exit 0 # do nothing on wrong response
;;
esac

View File

@ -1,6 +0,0 @@
#!/bin/bash
rofi -no-config -modi window -show window -hide-scrollbar -eh 1 \
-padding 50 -line-padding 4 -font "Fantasque Sans Mono 12" -color-enabled \
-color-window "#1F2326, #1F2326, #1F2326" \
-color-normal "#1F2326, #F1F1F1, #1F2326, #4E88CF, #1F2326"

View File

@ -1,6 +0,0 @@
#!/bin/bash
rofi -no-config -modi window -show window -hide-scrollbar -eh 1 \
-padding 50 -line-padding 4 -font "Fantasque Sans Mono 12" -color-enabled \
-color-window "{{.Data.terminal_background}}, {{.Data.terminal_background}}, {{.Data.terminal_background}}" \
-color-normal "{{.Data.terminal_background}}, {{.Data.terminal_foreground}}, {{.Data.terminal_background}}, {{index .Data.terminal_colors 4}}, {{.Data.terminal_background}}"

81
home/bin/rofr.sh Executable file
View File

@ -0,0 +1,81 @@
#!/usr/bin/env bash
Name=$(basename "$0")
Version="0.1"
_usage() {
cat <<- EOF
Usage: $Name [options]
Options:
-h Display this message
-v Display script version
-q Persistant calculator dialog
-w Switch between open windows
-r Program launcher & run dialog
-c Select previous clipboard entries
-b Browser search by keyword
-l Session logout choice
EOF
}
# Handle command line arguments
while getopts ":hvqwcbrl" opt; do
case $opt in
h)
_usage
exit 0
;;
v)
echo -e "$Name -- Version $Version"
exit 0
;;
r)
rofi -modi run,drun -show drun -line-padding 4 \
-columns 2 -padding 50 -hide-scrollbar \
-show-icons -drun-icon-theme "ArchLabs-Light"
;;
w)
rofi -modi window -show window -hide-scrollbar \
-eh 1 -padding 50 -line-padding 4
;;
q)
rofi -modi "calc:qalc +u8 -nocurrencies" -padding 50 \
-show "calc:qalc +u8 -nocurrencies" -line-padding 4 \
-hide-scrollbar
;;
c)
rofi -modi "clipboard:greenclip print" -padding 50 \
-line-padding 4 -show "clipboard:greenclip print" \
-hide-scrollbar
;;
b)
surfraw -browser="$BROWSER" $(sr -elvi | awk -F'-' '{print $1}' \
| sed '/:/d' | awk '{$1=$1};1' | rofi -hide-scrollbar \
-kb-row-select 'Tab' -kb-row-tab 'Control+space' \
-dmenu -mesg 'Tab for Autocomplete' -i -p 'Web Search: ' \
-padding 50 -line-padding 4)
;;
l)
ANS=$(echo " Lock| Logout| Reboot| Shutdown" | \
rofi -sep "|" -dmenu -i -p 'System: ' "" -width 20 \
-hide-scrollbar -eh 1 -line-padding 4 -padding 20 -lines 4)
case "$ANS" in
*Lock) i3lock-fancy ;;
*Logout) session-logout ;;
*Reboot) systemctl reboot ;;
*Shutdown) systemctl poweroff
esac
;;
*)
echo -e "Option does not exist: -$OPTARG"
_usage
exit 1
esac
done
shift $((OPTIND - 1))
exit 0

View File

@ -1,6 +1,5 @@
#!/usr/bin/env bash
if [[ "$(pidof compton)" ]]; then
al-compositor --restart
else

View File

@ -1,25 +0,0 @@
#!/usr/bin/env bash
on=""
off=""
# if the script is passed --toggle
if [[ "$1" ]]; then
if [[ "$1" == *toggle* ]] && [[ "$(pidof caffeine)" ]]; then
killall caffeine
elif [[ "$1" == *toggle* ]]; then
caffeine &
fi
exit 0
fi
while true; do
# caffeine is running
if [[ "$(pidof caffeine)" ]]; then
echo "%{F#0000FF}$on"
else
echo "%{F#FF0000}$off"
fi
sleep 2
done

View File

@ -1,22 +0,0 @@
#!/usr/bin/env bash
on=""
off=""
if [[ "$1" ]]; then
if [[ "$1" == *toggle* ]] && [[ "$(pidof compton)" ]]; then
al-compositor --stop
elif [[ "$1" == *toggle* ]]; then
al-compositor --start
fi
exit 0
fi
while true; do
if [[ "$(pidof compton)" ]]; then
echo "$on"
else
echo "%{F#888888}$off"
fi
sleep 2
done

View File

@ -1,9 +0,0 @@
#!/usr/bin/env bash
# small script to kill polybar if it is running
# if it isnt running then start it the default session
if [[ "$(pidof polybar)" ]]; then
pkill polybar
else
al-polybar-session
fi

View File

@ -1,32 +0,0 @@
#!/usr/bin/env bash
icon=""
if [[ $1 = "--toggle" ]] || [[ $1 = "-t" ]]; then
if pgrep redshift >/dev/null; then
pkill redshift
else
redshift-gtk &
fi
exit 0
fi
while true; do
pgrep -x redshift &> /dev/null
if [[ $? -eq 0 ]]; then
temp=$(redshift -p 2>/dev/null | grep temp | cut -d' ' -f3)
temp=${temp//K/}
fi
if [[ -z $temp ]]; then
echo " $icon " # Greyed out (not running)
elif [[ $temp -ge 5000 ]]; then
echo "%{F#8039A0} $icon " # Blue
elif [[ $temp -ge 4000 ]]; then
echo "%{F#F203F0} $icon " # Yellow
else
echo "%{F#FF5B6C} $icon " # Orange
fi
sleep 2
done

View File

@ -1,12 +0,0 @@
#!/usr/bin/env bash
# will check if precisely this termite instance is running
# if it is, then kill it, otherwise launch a new termite with these settings
# This allows a "Toggle-able" terminal, by simply binding a key to
# "toggle-termite"
if pgrep --full 'termite --title=work-term' &>/dev/null; then
pkill --full 'termite --title=work-term'
else
termite --title=work-term --class=work-term &
fi

158
home/bin/toggle.sh Executable file
View File

@ -0,0 +1,158 @@
#!/usr/bin/env bash
Name=$(basename "$0")
Version="0.1"
_usage() {
cat <<EOF
USAGE:
$Name [OPTIONS] [ADDITIONAL]
OPTIONS:
-h,--help Display this message
-v,--version Display script version
-t,--terminal Toggle a floating work terminal, no additional options
-p,--polybar Toggle the configured polybar session, no additional options
-c,--compton Toggle compton or daemon monitoring icon, can use toggle option
-r,--redshift Toggle redshift or daemon monitoring icon, can use toggle option
-f,--caffeine Toggle caffeine or daemon monitoring icon, can use toggle option
ADDITIONAL:
-tg,--toggle Toggle the program off/on, without this flag a monitor process will be started
EOF
}
toggle_terminal() {
if pgrep --full "termite --title=Work --class=Work" &>/dev/null; then
pkill --full "termite --title=Work --class=Work"
else
termite --title=Work --class=Work &
fi
}
toggle_polybar() {
if [[ $(pidof polybar) ]]; then
pkill polybar
else
al-polybar-session
fi
}
toggle_compton() {
if [[ $opt -eq 1 ]]; then
if [[ $(pidof compton) ]]; then
al-compositor --stop
else
al-compositor --start
fi
exit 0
fi
on=""
off=""
while true; do
if [[ $(pidof compton) ]]; then
echo "$on"
else
echo "%{F#888888}$off"
fi
sleep 2
done
}
toggle_redshift() {
if [[ $opt -eq 1 ]]; then
if [[ $(pidof redshift) ]]; then
pkill redshift
else
redshift &
fi
exit 0
fi
icon=""
while true; do
if [[ $(pidof redshift) ]]; then
temp=$(sed 's/K//g' <<< "$(grep -o '[0-9].*K' <<< "$(redshift -p 2>/dev/null)")")
fi
if [[ -z $temp ]]; then
echo " $icon " # Greyed out (not running)
elif [[ $temp -ge 5000 ]]; then
echo "%{F#8039A0} $icon " # Blue
elif [[ $temp -ge 4000 ]]; then
echo "%{F#F203F0} $icon " # Yellow
else
echo "%{F#FF5B6C} $icon " # Orange
fi
sleep 2
done
}
toggle_caffeine() {
if [[ $opt -eq 1 ]]; then
if [[ $(pidof caffeine) ]]; then
killall caffeine
else
caffeine &
fi
exit 0
fi
on=""
off=""
while true; do
if [[ $(pidof caffeine) ]]; then
echo "%{F#0000FF}$on"
else
echo "%{F#FF0000}$off"
fi
sleep 2
done
}
# Catch command line options
case $1 in
-t|--terminal)
toggle_terminal
;;
-p|--polybar)
toggle_polybar
;;
-c|--compton)
case $2 in
-tg|--toggle)
opt=1
esac
toggle_compton
;;
-r|--redshift)
case $2 in
-tg|--toggle)
opt=1
esac
toggle_redshift
;;
-f|--caffeine)
case $2 in
-tg|--toggle)
opt=1
esac
toggle_caffeine
;;
-h|--help)
_usage
;;
-v|--version)
echo -e "$Name -- Version $Version"
;;
*)
echo -e "Option does not exist: $1" && _usage && exit 1
esac
exit 0

36
home/bin/updates.sh Executable file
View File

@ -0,0 +1,36 @@
#!/usr/bin/env bash
BAR_ICON=""
ICON=/usr/share/icons/gnome/32x32/apps/system-software-update.png
while true; do
updates=$(wc -l <<< "$(checkupdates)")
if hash notify-send &>/dev/null; then
if [[ $updates -gt 50 ]]; then
notify-send -u critical -i $ICON \
"You really need to update soon!!" "$updates New package updates"
elif [[ $updates -gt 25 ]]; then
notify-send -u normal -i $ICON \
"You should update soon" "$updates New package updates"
elif [[ $updates -gt 2 ]]; then
notify-send -u low -i $ICON \
"$updates New package updates"
fi
fi
while [[ $updates -gt 0 ]]; do
if [[ $updates -eq 1 ]]; then
echo "$count Update"
elif [[ $updates -gt 1 ]]; then
echo "$updates Updates"
fi
sleep 8
count=$(wc -l <<< "$(checkupdates)")
done
while [[ $count -eq 0 ]]; do
echo $BAR_ICON
sleep 1200
count=$(wc -l <<< "$(checkupdates)")
done
done

View File

@ -1,10 +1,5 @@
#!/usr/bin/env bash
#
# A script to upgrade existing installations of ArchLabs
#
# Written by Nathaniel Maia <natemaia10@gmail.com>
#
REPOS='
[archlabs_repo]
@ -30,6 +25,7 @@ while ! [[ $(ping -c1 8.8.8.8) ]]; do
clear; sleep 1
done
backup_configs() {
if ! [[ -e "$HOME/Downloads/$USER-backup.tar.gz" ]]; then
tar czvf "$HOME/Downloads/$USER-backup.tar.gz" "${HOME_FILES[@]}" >/dev/null 2>&1
@ -45,7 +41,7 @@ setup_configs() {
for f in "${SKEL_FILES[@]}"; do
cp -rf "$f" ~/
done
cp -f /etc/skel/.{bashrc,zshrc} "$HOME/"
cp -f /etc/skel/.{bashrc,zshrc} ~/
}
new_configs() {