Large update, remove old scripts & gorice, merge some together
This commit is contained in:
parent
9718b4bd71
commit
f041702ae0
@ -20,10 +20,6 @@ Section "InputClass"
|
|||||||
Option "Ignore" "on"
|
Option "Ignore" "on"
|
||||||
EndSection
|
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"
|
Section "InputClass"
|
||||||
Identifier "Default clickpad buttons"
|
Identifier "Default clickpad buttons"
|
||||||
MatchDriver "libinput"
|
MatchDriver "libinput"
|
||||||
@ -31,8 +27,6 @@ Section "InputClass"
|
|||||||
Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%"
|
Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%"
|
||||||
EndSection
|
EndSection
|
||||||
|
|
||||||
# This option disables software buttons on Apple touchpads.
|
|
||||||
# This option is only interpreted by clickpads.
|
|
||||||
Section "InputClass"
|
Section "InputClass"
|
||||||
Identifier "Disable clickpad buttons on Apple touchpads"
|
Identifier "Disable clickpad buttons on Apple touchpads"
|
||||||
MatchProduct "Apple|bcm5974"
|
MatchProduct "Apple|bcm5974"
|
||||||
|
157
home/.Xresources
Executable file → Normal file
157
home/.Xresources
Executable file → Normal file
@ -2,49 +2,33 @@
|
|||||||
! theme colors
|
! theme colors
|
||||||
! ------------------------------------------------------------------------------
|
! ------------------------------------------------------------------------------
|
||||||
! special
|
! special
|
||||||
*.foreground: #c0c5ce
|
*.foreground: #c0c5ce
|
||||||
*.background: #2b303b
|
*.background: #2b303b
|
||||||
*.cursorColor: #c0c5ce
|
*.cursorColor: #c0c5ce
|
||||||
|
|
||||||
! black
|
*.color0: #2b303b
|
||||||
*.color0: #2b303b
|
*.color1: #bf616a
|
||||||
*.color8: #65737e
|
*.color2: #a3be8c
|
||||||
|
*.color3: #ebcb8b
|
||||||
! red
|
*.color4: #8fa1b3
|
||||||
*.color1: #bf616a
|
*.color5: #b48ead
|
||||||
*.color9: #bf616a
|
*.color6: #96b5b4
|
||||||
|
*.color7: #65737e
|
||||||
! 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
|
|
||||||
|
|
||||||
|
*.color8: #65737e
|
||||||
|
*.color9: #bf616a
|
||||||
|
*.color10: #a3be8c
|
||||||
|
*.color11: #ebcb8b
|
||||||
|
*.color12: #8fa1b3
|
||||||
|
*.color13: #b48ead
|
||||||
|
*.color14: #96b5b4
|
||||||
|
*.color15: #F6F6F6
|
||||||
|
|
||||||
! ------------------------------------------------------------------------------
|
! ------------------------------------------------------------------------------
|
||||||
! xterm
|
! xterm
|
||||||
! ------------------------------------------------------------------------------
|
! ------------------------------------------------------------------------------
|
||||||
|
xterm*font: Ubuntu Mono
|
||||||
xterm*font: 7x13
|
xterm*faceName: Ubuntu Mono:size=11:antialias=false
|
||||||
xterm*faceName: Monospace:size=10:antialias=false
|
|
||||||
xterm*loginShell: true
|
xterm*loginShell: true
|
||||||
xterm*vt100*geometry: 90x34
|
xterm*vt100*geometry: 90x34
|
||||||
xterm*saveLines: 2000
|
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*termName: xterm-256color
|
||||||
xterm*eightBitInput: false
|
xterm*eightBitInput: false
|
||||||
|
|
||||||
|
|
||||||
! ------------------------------------------------------------------------------
|
! ------------------------------------------------------------------------------
|
||||||
! URxvt
|
! URxvt
|
||||||
! -----------------------------------------------------------------------------
|
! -----------------------------------------------------------------------------
|
||||||
|
URxvt*saveline: 15000
|
||||||
! general settings
|
URxvt*termName: rxvt-256color
|
||||||
URxvt*saveline: 15000
|
URxvt*iso14755: false
|
||||||
URxvt*termName: rxvt-256color
|
URxvt*depth: 32
|
||||||
URxvt*iso14755: false
|
URxvt*background: [90]#2b303b
|
||||||
|
URxvt*scrollBar: false
|
||||||
! appearance
|
URxvt*scrollBar_right: false
|
||||||
URxvt*depth: 32
|
URxvt*internalBorder: 0
|
||||||
URxvt*background: [90]#2b303b
|
URxvt*externalBorder: 0
|
||||||
URxvt*scrollBar: false
|
URxvt*letterSpace: -1
|
||||||
URxvt*scrollBar_right: false
|
|
||||||
URxvt*internalBorder: 0
|
|
||||||
URxvt*externalBorder: 0
|
|
||||||
|
|
||||||
! fonts
|
|
||||||
URxvt*letterSpace: -1
|
|
||||||
URxvt.font: xft:Ubuntu Mono:size=11
|
URxvt.font: xft:Ubuntu Mono:size=11
|
||||||
! run :.!fc-list | grep <font-name>
|
URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select
|
||||||
|
URxvt.copyCommand: xclip -i -selection clipboard
|
||||||
! perl extensions
|
URxvt.pasteCommand: xclip -o -selection clipboard
|
||||||
URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select
|
URxvt.keysym.m-c: perl:clipboard:copy
|
||||||
|
URxvt.keysym.m-v: perl:clipboard:paste
|
||||||
! macros for clipboard and selection "m"=Alt
|
URxvt.urlLauncher: exo-open
|
||||||
URxvt.copyCommand: xclip -i -selection clipboard
|
URxvt.underlineURLs: true
|
||||||
URxvt.pasteCommand: xclip -o -selection clipboard
|
URxvt.urlButton: 1
|
||||||
URxvt.keysym.m-c: perl:clipboard:copy
|
URxvt.geometry: 90x30
|
||||||
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-fg: 4
|
||||||
URxvt.tabbed.tabbar-bg: 16
|
URxvt.tabbed.tabbar-bg: 16
|
||||||
URxvt.tabbed.tab-fg: 15
|
URxvt.tabbed.tab-fg: 15
|
||||||
URxvt.tabbed.tab-bg: 4
|
URxvt.tabbed.tab-bg: 4
|
||||||
URxvt*buffered: false
|
URxvt*buffered: false
|
||||||
|
|
||||||
|
|
||||||
! ------------------------------------------------------------------------------
|
! ------------------------------------------------------------------------------
|
||||||
! UXTerm
|
! UXTerm
|
||||||
! ------------------------------------------------------------------------------
|
! ------------------------------------------------------------------------------
|
||||||
|
|
||||||
! termtype
|
|
||||||
UXTerm*termName: xterm-256color
|
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
|
! Rofi
|
||||||
UXTerm*font: Monospace
|
! ------------------------------------------------------------------------------
|
||||||
UXTerm*faceSize: 12
|
rofi.font: Ubuntu Mono 12
|
||||||
UXTerm*dynamicColors: true
|
rofi.color-enabled: true
|
||||||
UXTerm*utf8: 2
|
rofi.color-window: #2b303b, #2b303b, #2b303b
|
||||||
UXTerm*eightBitInput: true
|
rofi.color-normal: #2b303b, #c0c5ce, #2b303b, #8fa1b3, #2b303b
|
||||||
UXTerm*saveLines: 10000
|
rofi.separator-style: solid
|
||||||
UXTerm*scrollKey: true
|
|
||||||
UXTerm*scrollTtyOutput: false
|
|
||||||
UXTerm*scrollBar: false
|
|
||||||
UXTerm*rightScrollBar: false
|
|
||||||
UXTerm*jumpScroll: true
|
|
||||||
UXTerm*multiScroll: true
|
|
||||||
UXTerm*toolBar: false
|
|
||||||
|
@ -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
|
|
@ -1,44 +1,44 @@
|
|||||||
<?xml encoding="UTF-8" version="1.0"?>
|
<?xml encoding="UTF-8" version="1.0"?>
|
||||||
<actions>
|
<actions>
|
||||||
<action>
|
<action>
|
||||||
<icon>utilities-terminal</icon>
|
<icon>utilities-terminal</icon>
|
||||||
<name>Open in Terminal</name>
|
<name>Open in Terminal</name>
|
||||||
<unique-id>1499240572835265-1</unique-id>
|
<unique-id>1499240572835265-1</unique-id>
|
||||||
<command>exo-open --launch TerminalEmulator %f</command>
|
<command>exo-open --launch TerminalEmulator %f</command>
|
||||||
<description></description>
|
<description></description>
|
||||||
<patterns>*</patterns>
|
<patterns>*</patterns>
|
||||||
<startup-notify/>
|
<startup-notify/>
|
||||||
<directories/>
|
<directories/>
|
||||||
</action>
|
</action>
|
||||||
<action>
|
<action>
|
||||||
<icon>document-open</icon>
|
<icon>document-open</icon>
|
||||||
<name>Open as Root</name>
|
<name>Open as Root</name>
|
||||||
<unique-id>1498523394840843-5</unique-id>
|
<unique-id>1498523394840843-5</unique-id>
|
||||||
<command>gksu thunar %f</command>
|
<command>gksu thunar %f</command>
|
||||||
<description></description>
|
<description></description>
|
||||||
<patterns>*</patterns>
|
<patterns>*</patterns>
|
||||||
<directories/>
|
<directories/>
|
||||||
</action>
|
</action>
|
||||||
<action>
|
<action>
|
||||||
<icon>archive-extract</icon>
|
<icon>archive-extract</icon>
|
||||||
<name>Extract Here</name>
|
<name>Extract Here</name>
|
||||||
<unique-id>1500573442438340-2</unique-id>
|
<unique-id>1500573442438340-2</unique-id>
|
||||||
<command>file-roller -h %N</command>
|
<command>file-roller -h %N</command>
|
||||||
<description></description>
|
<description></description>
|
||||||
<patterns>*</patterns>
|
<patterns>*</patterns>
|
||||||
<startup-notify/>
|
<startup-notify/>
|
||||||
<other-files/>
|
<other-files/>
|
||||||
</action>
|
</action>
|
||||||
<action>
|
<action>
|
||||||
<icon>archive-insert</icon>
|
<icon>archive-insert</icon>
|
||||||
<name>Archive</name>
|
<name>Archive</name>
|
||||||
<unique-id>1500573639456321-3</unique-id>
|
<unique-id>1500573639456321-3</unique-id>
|
||||||
<command>file-roller -d %F</command>
|
<command>file-roller -d %F</command>
|
||||||
<description>Archive selected items</description>
|
<description>Archive selected items</description>
|
||||||
<patterns>*</patterns>
|
<patterns>*</patterns>
|
||||||
<directories/>
|
<directories/>
|
||||||
<image-files/>
|
<image-files/>
|
||||||
<other-files/>
|
<other-files/>
|
||||||
<text-files/>
|
<text-files/>
|
||||||
</action>
|
</action>
|
||||||
</actions>
|
</actions>
|
||||||
|
@ -2,46 +2,40 @@
|
|||||||
|
|
||||||
# key bindings
|
# key bindings
|
||||||
sxhkd &
|
sxhkd &
|
||||||
|
|
||||||
# wallpaper
|
# wallpaper
|
||||||
nitrogen --restore &
|
nitrogen --restore &
|
||||||
|
|
||||||
# set super key to launch rofi
|
# set super key to launch rofi
|
||||||
ksuperkey -e 'Super_L=Alt_L|F1' &
|
ksuperkey -e 'Super_L=Alt_L|F1' &
|
||||||
|
|
||||||
# launch compton
|
# launch compton
|
||||||
al-compositor --start &
|
al-compositor --start &
|
||||||
|
|
||||||
# gnome polkit
|
# gnome polkit
|
||||||
lxpolkit &
|
lxpolkit &
|
||||||
|
|
||||||
# panel
|
# panel
|
||||||
sleep 1; al-polybar-session &
|
sleep 1; al-polybar-session &
|
||||||
|
|
||||||
# Set some bsp specific stuff
|
# Set some bsp specific stuff
|
||||||
bspc monitor -d I II III IV V VI VII VIII IX X
|
bspc monitor -d I II III IV V VI VII VIII IX X
|
||||||
|
|
||||||
bspc config border_width 3
|
bspc config border_width 3
|
||||||
bspc config window_gap 12
|
bspc config window_gap 12
|
||||||
bspc config top_padding 18
|
bspc config top_padding 18
|
||||||
bspc config right_padding 0
|
bspc config right_padding 0
|
||||||
bspc config bottom_padding 0
|
bspc config bottom_padding 0
|
||||||
bspc config left_padding 0
|
bspc config left_padding 0
|
||||||
|
|
||||||
bspc config split_ratio 0.54
|
bspc config split_ratio 0.54
|
||||||
bspc config borderless_monocle false
|
bspc config borderless_monocle false
|
||||||
bspc config gapless_monocle true
|
bspc config gapless_monocle true
|
||||||
bspc config paddingless_monocle true
|
bspc config paddingless_monocle true
|
||||||
|
|
||||||
bspc config pointer_modifier mod1
|
bspc config pointer_modifier mod1
|
||||||
bspc config click_to_focus true
|
bspc config click_to_focus true
|
||||||
bspc config pointer_action1 move
|
bspc config pointer_action1 move
|
||||||
bspc config pointer_action2 resize_side
|
bspc config pointer_action2 resize_side
|
||||||
bspc config pointer_action3 resize_corner
|
bspc config pointer_action3 resize_corner
|
||||||
|
|
||||||
bspc rule -a thunar desktop='^1' state=floating follow=on
|
bspc rule -a thunar desktop='^1' state=floating follow=on
|
||||||
bspc rule -a firefox desktop='^2'
|
bspc rule -a firefox desktop='^2'
|
||||||
bspc rule -a mplayer2 state=floating
|
|
||||||
bspc rule -a Galculator state=floating
|
bspc rule -a Galculator state=floating
|
||||||
bspc rule -a Void_Exit_Session state=floating layer=above
|
bspc rule -a Void_Exit_Session state=floating layer=above
|
||||||
bspc rule -a Exit_Session state=floating layer=above
|
bspc rule -a Exit_Session state=floating layer=above
|
||||||
|
84
home/.config/dunst/dunstrc
Executable file → Normal file
84
home/.config/dunst/dunstrc
Executable file → Normal file
@ -1,50 +1,48 @@
|
|||||||
[global]
|
[global]
|
||||||
font = Ubuntu 11
|
font = Ubuntu 11
|
||||||
markup = yes
|
markup = yes
|
||||||
format = "<b>%s</b>\n%b"
|
format = "<b>%s</b>\n%b"
|
||||||
sort = yes
|
sort = yes
|
||||||
indicate_hidden = yes
|
indicate_hidden = yes
|
||||||
alignment = center
|
alignment = center
|
||||||
bounce_freq = 0
|
bounce_freq = 0
|
||||||
show_age_threshold = 60
|
show_age_threshold = 60
|
||||||
word_wrap = yes
|
word_wrap = yes
|
||||||
ignore_newline = no
|
ignore_newline = no
|
||||||
geometry = "400x10-20+40"
|
geometry = "400x10-20+40"
|
||||||
shrink = yes
|
shrink = yes
|
||||||
transparency = 0
|
transparency = 0
|
||||||
idle_threshold = 0
|
idle_threshold = 0
|
||||||
#monitor = 0
|
#monitor = 0
|
||||||
follow = mouse
|
follow = mouse
|
||||||
sticky_history = yes
|
sticky_history = yes
|
||||||
history_length = 20
|
history_length = 20
|
||||||
show_indicators = no
|
show_indicators = no
|
||||||
line_height = 0
|
line_height = 0
|
||||||
separator_height = 2
|
separator_height = 2
|
||||||
padding = 10
|
padding = 10
|
||||||
horizontal_padding = 20
|
horizontal_padding = 20
|
||||||
frame_color = "#c0c5ce"
|
frame_color = "#c0c5ce"
|
||||||
separator_color = frame
|
separator_color = frame
|
||||||
frame_width = 1
|
frame_width = 1
|
||||||
startup_notification = false
|
startup_notification = false
|
||||||
dmenu = /usr/bin/dmenu -p dunst:
|
dmenu = /usr/bin/dmenu -p dunst:
|
||||||
browser = /usr/bin/firefox
|
browser = /usr/bin/firefox
|
||||||
icon_position = left
|
icon_position = left
|
||||||
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
|
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
|
||||||
|
|
||||||
[shortcuts]
|
|
||||||
|
|
||||||
[urgency_low]
|
[urgency_low]
|
||||||
background = "#2b303b"
|
background = "#2b303b"
|
||||||
foreground = "#c0c5ce"
|
foreground = "#c0c5ce"
|
||||||
timeout = 3
|
timeout = 3
|
||||||
|
|
||||||
[urgency_normal]
|
[urgency_normal]
|
||||||
background = "#2b303b"
|
background = "#2b303b"
|
||||||
foreground = "#c0c5ce"
|
foreground = "#c0c5ce"
|
||||||
timeout = 3
|
timeout = 3
|
||||||
|
|
||||||
[urgency_critical]
|
[urgency_critical]
|
||||||
background = "#2b303b"
|
background = "#2b303b"
|
||||||
foreground = "#bf616a"
|
foreground = "#bf616a"
|
||||||
frame_color = "#bf616a"
|
frame_color = "#bf616a"
|
||||||
timeout = 5
|
timeout = 5
|
||||||
|
@ -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
|
|
@ -1,56 +1,56 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
<fontconfig>
|
<fontconfig>
|
||||||
<match target="font">
|
<match target="font">
|
||||||
<edit mode="assign" name="hinting" >
|
<edit mode="assign" name="hinting" >
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</edit>
|
</edit>
|
||||||
<edit mode="assign" name="autohint" >
|
<edit mode="assign" name="autohint" >
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</edit>
|
</edit>
|
||||||
<edit mode="assign" name="hintstyle" >
|
<edit mode="assign" name="hintstyle" >
|
||||||
<const>hintslight</const>
|
<const>hintslight</const>
|
||||||
</edit>
|
</edit>
|
||||||
<edit mode="assign" name="rgba" >
|
<edit mode="assign" name="rgba" >
|
||||||
<const>rgb</const>
|
<const>rgb</const>
|
||||||
</edit>
|
</edit>
|
||||||
<edit mode="assign" name="antialias" >
|
<edit mode="assign" name="antialias" >
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</edit>
|
</edit>
|
||||||
<edit mode="assign" name="lcdfilter">
|
<edit mode="assign" name="lcdfilter">
|
||||||
<const>lcddefault</const>
|
<const>lcddefault</const>
|
||||||
</edit>
|
</edit>
|
||||||
</match>
|
</match>
|
||||||
<!-- Set preferred serif, sans serif, and monospace fonts. -->
|
<!-- Set preferred serif, sans serif, and monospace fonts. -->
|
||||||
<alias>
|
<alias>
|
||||||
<family>serif</family>
|
<family>serif</family>
|
||||||
<prefer>
|
<prefer>
|
||||||
<family>Ubuntu</family>
|
<family>Ubuntu</family>
|
||||||
</prefer>
|
</prefer>
|
||||||
</alias>
|
</alias>
|
||||||
<alias>
|
<alias>
|
||||||
<family>sans-serif</family>
|
<family>sans-serif</family>
|
||||||
<prefer>
|
<prefer>
|
||||||
<family>Ubuntu</family>
|
<family>Ubuntu</family>
|
||||||
</prefer>
|
</prefer>
|
||||||
</alias>
|
</alias>
|
||||||
<alias>
|
<alias>
|
||||||
<family>sans</family>
|
<family>sans</family>
|
||||||
<prefer>
|
<prefer>
|
||||||
<family>Ubuntu</family>
|
<family>Ubuntu</family>
|
||||||
</prefer>
|
</prefer>
|
||||||
</alias>
|
</alias>
|
||||||
<alias>
|
<alias>
|
||||||
<family>monospace</family>
|
<family>monospace</family>
|
||||||
<prefer>
|
<prefer>
|
||||||
<family>Ubuntu Mono</family>
|
<family>Ubuntu Mono</family>
|
||||||
</prefer>
|
</prefer>
|
||||||
</alias>
|
</alias>
|
||||||
<alias>
|
<alias>
|
||||||
<family>mono</family>
|
<family>mono</family>
|
||||||
<prefer>
|
<prefer>
|
||||||
<family>Ubuntu Mono</family>
|
<family>Ubuntu Mono</family>
|
||||||
</prefer>
|
</prefer>
|
||||||
</alias>
|
</alias>
|
||||||
|
|
||||||
</fontconfig>
|
</fontconfig>
|
||||||
|
@ -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
|
|
@ -5,7 +5,7 @@ file:///home/liveuser/Pictures
|
|||||||
file:///home/liveuser/Music
|
file:///home/liveuser/Music
|
||||||
file:///home/liveuser/Videos
|
file:///home/liveuser/Videos
|
||||||
file:///home/liveuser/Templates
|
file:///home/liveuser/Templates
|
||||||
file:///home/liveuser/.config configs
|
file:///home/liveuser/.config .config
|
||||||
file:///home/liveuser/.config/polybar
|
file:///home/liveuser/.config/polybar
|
||||||
file:///home/liveuser/.config/neofetch
|
file:///home/liveuser/.config/neofetch
|
||||||
file:///home/liveuser/.config/termite
|
file:///home/liveuser/.config/termite
|
||||||
|
@ -102,10 +102,10 @@ bindsym $Mod+Shift+q kill
|
|||||||
bindsym Mod1+q kill
|
bindsym Mod1+q kill
|
||||||
|
|
||||||
# launchers
|
# 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
|
# 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
|
# core
|
||||||
bindsym $Mod+e exec --no-startup-id geany
|
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
|
bindsym $Mod+f exec exo-open --launch FileManager
|
||||||
|
|
||||||
# logout
|
# 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
|
# long command broken into multiple lines
|
||||||
bindsym Print exec --no-startup-id "scrot '%S.png' \
|
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'"
|
; gpicview $$(xdg-user-dir PICTURES)/ArchLabs-%S-$wx$h.png'"
|
||||||
|
|
||||||
# audio
|
# audio
|
||||||
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
|
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
|
||||||
bindsym XF86AudioNext exec --no-startup-id playerctl next
|
bindsym XF86AudioNext exec --no-startup-id playerctl next
|
||||||
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
||||||
bindsym XF86AudioStop exec --no-startup-id playerctl stop
|
bindsym XF86AudioStop exec --no-startup-id playerctl stop
|
||||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer -i 2
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer -i 2
|
||||||
bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 2
|
bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 2
|
||||||
bindsym XF86AudioMute exec --no-startup-id pamixer -t
|
bindsym XF86AudioMute exec --no-startup-id pamixer -t
|
||||||
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10
|
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10
|
||||||
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 10
|
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 10
|
||||||
|
|
||||||
####################################################################################################
|
####################################################################################################
|
||||||
@ -181,10 +181,8 @@ bindsym $Mod+Shift+c reload
|
|||||||
####################################################################################################
|
####################################################################################################
|
||||||
|
|
||||||
# Scratchpad, Floating
|
# Scratchpad, Floating
|
||||||
bindsym Mod1+minus move scratchpad
|
bindsym $Mod+Shift+space floating toggle
|
||||||
bindsym Mod1+plus scratchpad show
|
floating_modifier Mod1
|
||||||
bindsym $Mod+space floating toggle
|
|
||||||
floating_modifier Mod1
|
|
||||||
|
|
||||||
# change focus
|
# change focus
|
||||||
bindsym $Mod+$left focus left
|
bindsym $Mod+$left focus left
|
||||||
@ -198,8 +196,8 @@ bindsym $Mod+Down focus down
|
|||||||
bindsym $Mod+Up focus up
|
bindsym $Mod+Up focus up
|
||||||
bindsym $Mod+Right focus right
|
bindsym $Mod+Right focus right
|
||||||
|
|
||||||
bindsym $Mod+p focus parent
|
bindsym $Mod+p focus parent
|
||||||
bindsym $Mod+c focus child
|
bindsym $Mod+c focus child
|
||||||
|
|
||||||
# move focused window
|
# move focused window
|
||||||
bindsym $Mod+Shift+$left move left 10px
|
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
|
bindsym $Mod+Shift+Right move right 10px
|
||||||
|
|
||||||
# Size
|
# Size
|
||||||
bindsym Mod1+Up resize shrink height 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+Down resize grow height 10 px or 1 ppt
|
||||||
bindsym Mod1+Left resize shrink width 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+Right resize grow width 10 px or 1 ppt
|
||||||
|
|
||||||
# layout toggle, keycode 23 is Tab
|
# layout toggle, keycode 23 is Tab
|
||||||
bindcode Mod1+23 layout toggle tabbed split
|
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+minus gaps inner current minus 5
|
||||||
bindsym $Mod+Shift+plus gaps outer current plus 5
|
bindsym $Mod+Shift+plus gaps outer current plus 5
|
||||||
bindsym $Mod+Shift+minus gaps outer current minus 5
|
bindsym $Mod+Shift+minus gaps outer current minus 5
|
||||||
|
|
||||||
bindsym $Mod+Control+plus gaps inner all plus 5
|
bindsym $Mod+Control+plus gaps inner all plus 5
|
||||||
bindsym $Mod+Control+minus gaps inner all minus 5
|
bindsym $Mod+Control+minus gaps inner all minus 5
|
||||||
bindsym $Mod+Control+Shift+plus gaps outer all plus 5
|
bindsym $Mod+Control+Shift+plus gaps outer all plus 5
|
||||||
@ -266,29 +263,20 @@ bindsym $Mod+Control+Shift+minus gaps outer all minus 5
|
|||||||
################# application settings #################
|
################# application settings #################
|
||||||
####################################################################################################
|
####################################################################################################
|
||||||
|
|
||||||
# focus & floating
|
for_window [class="(?i)(?:qt5ct|pinentry)"] floating enable, focus
|
||||||
for_window [class="(?i)(?:lxapp\w+|peek)"] floating enable, focus
|
for_window [class="(?i)(?:termite|thunar)"] focus
|
||||||
for_window [class="(?i)(?:gpic\w+|gvim)"] floating enable, focus
|
for_window [class="(?i)(?:geany|firefox)"] 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
|
|
||||||
|
|
||||||
# Assign Applications to specific workspace
|
# Assign Applications to specific workspace
|
||||||
# get class with xprop
|
# get class with xprop
|
||||||
assign [class="(?i)(?:firefox)"] → $WS1
|
assign [class="(?i)(?:firefox)"] → $WS1
|
||||||
assign [class="(?i)(?:geany)"] → $WS2
|
assign [class="(?i)(?:geany)"] → $WS2
|
||||||
assign [class="(?i)(?:thunar)"] → $WS3
|
assign [class="(?i)(?:thunar)"] → $WS3
|
||||||
assign [class="(?i)(?:gimp|nitrogen)"] → $WS4
|
|
||||||
|
|
||||||
# focus, floating, & sticky
|
# focus, floating, & sticky
|
||||||
for_window [title="(?i)(?:copying|deleting|moving|auth\w+)"] floating enable, sticky enable
|
for_window [title="(?i)(?:copying|deleting|moving)"] floating enable
|
||||||
for_window [window_role="(?i)(?:pop-up|setup|preferen\w+)"] floating enable, sticky enable
|
for_window [window_role="(?i)(?:pop-up|setup)"] floating enable
|
||||||
|
|
||||||
# set trayer to be borderless
|
# set trayer to be borderless
|
||||||
for_window [class="(?i)trayer"] border pixel 0
|
for_window [class="(?i)trayer"] border pixel 0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# start on main workspaces when reloading i3 (keep me at the bottom)
|
|
||||||
exec_always --no-startup-id i3-msg 'workspace $WS5, workspace $WS1'
|
|
||||||
|
@ -1,43 +1,43 @@
|
|||||||
# jgmenurc
|
# jgmenurc
|
||||||
|
|
||||||
at_pointer = 0
|
at_pointer = 0
|
||||||
stay_alive = 1
|
stay_alive = 1
|
||||||
multi_window = 1
|
multi_window = 1
|
||||||
tint2_look = 1
|
tint2_look = 1
|
||||||
csv_cmd = lx
|
csv_cmd = lx
|
||||||
|
|
||||||
menu_halign = left
|
menu_halign = left
|
||||||
menu_valign = top
|
menu_valign = top
|
||||||
menu_margin_x = 4
|
menu_margin_x = 4
|
||||||
menu_margin_y = 32
|
menu_margin_y = 32
|
||||||
|
|
||||||
menu_width = 200
|
menu_width = 200
|
||||||
menu_radius = 0
|
menu_radius = 0
|
||||||
menu_border = 1
|
menu_border = 1
|
||||||
|
|
||||||
menu_padding_top = 10
|
menu_padding_top = 10
|
||||||
menu_padding_right = 2
|
menu_padding_right = 2
|
||||||
menu_padding_bottom = 5
|
menu_padding_bottom = 5
|
||||||
menu_padding_left = 2
|
menu_padding_left = 2
|
||||||
|
|
||||||
item_height = 30
|
item_height = 30
|
||||||
item_padding_x = 8
|
item_padding_x = 8
|
||||||
item_margin_y = 5
|
item_margin_y = 5
|
||||||
item_radius = 0
|
item_radius = 0
|
||||||
item_border = 0
|
item_border = 0
|
||||||
sep_height = 5
|
sep_height = 5
|
||||||
|
|
||||||
icon_size = 24
|
icon_size = 24
|
||||||
font = Ubuntu 12px
|
font = Ubuntu 12px
|
||||||
|
|
||||||
sub_hover_action = 1
|
sub_hover_action = 1
|
||||||
terminal_exec = termite
|
terminal_exec = termite
|
||||||
terminal_args = -e
|
terminal_args = -e
|
||||||
|
|
||||||
color_menu_bg = #2b303b 100
|
color_menu_bg = #2b303b 100
|
||||||
color_menu_fg = #8fa1b3 100
|
color_menu_fg = #8fa1b3 100
|
||||||
color_norm_bg = #2b303b 0
|
color_norm_bg = #2b303b 0
|
||||||
color_norm_fg = #8fa1b3 100
|
color_norm_fg = #8fa1b3 100
|
||||||
color_sel_bg = #8fa1b3 60
|
color_sel_bg = #8fa1b3 60
|
||||||
color_sel_fg = #2b303b 100
|
color_sel_fg = #2b303b 100
|
||||||
color_sep_fg = #8fa1b3 40
|
color_sep_fg = #8fa1b3 40
|
||||||
|
@ -74,29 +74,29 @@
|
|||||||
|
|
||||||
our $CONFIG = {
|
our $CONFIG = {
|
||||||
"editor" => "exo-open",
|
"editor" => "exo-open",
|
||||||
"Linux::DesktopFiles" => {
|
"Linux::DesktopFiles" => {
|
||||||
desktop_files_paths => [
|
desktop_files_paths => [
|
||||||
"/usr/share/applications",
|
"/usr/share/applications",
|
||||||
"/usr/local/share/applications",
|
"/usr/local/share/applications",
|
||||||
"/usr/share/applications/kde4",
|
"/usr/share/applications/kde4",
|
||||||
"$ENV{HOME}/.local/share/applications",
|
"$ENV{HOME}/.local/share/applications",
|
||||||
],
|
],
|
||||||
gtk_rc_filename => "$ENV{HOME}/.gtkrc-2.0",
|
gtk_rc_filename => "$ENV{HOME}/.gtkrc-2.0",
|
||||||
icon_dirs_first => undef,
|
icon_dirs_first => undef,
|
||||||
icon_dirs_last => undef,
|
icon_dirs_last => undef,
|
||||||
icon_dirs_second => undef,
|
icon_dirs_second => undef,
|
||||||
keep_unknown_categories => 1,
|
keep_unknown_categories => 1,
|
||||||
skip_entry => undef,
|
skip_entry => undef,
|
||||||
skip_filename_re => undef,
|
skip_filename_re => undef,
|
||||||
skip_svg_icons => 0,
|
skip_svg_icons => 0,
|
||||||
strict_icon_dirs => undef,
|
strict_icon_dirs => undef,
|
||||||
substitutions => undef,
|
substitutions => undef,
|
||||||
terminalization_format => "%s -e '%s'",
|
terminalization_format => "%s -e '%s'",
|
||||||
terminalize => 1,
|
terminalize => 1,
|
||||||
unknown_category_key => "other",
|
unknown_category_key => "other",
|
||||||
},
|
},
|
||||||
"missing_icon" => "gtk-missing-image",
|
"missing_icon" => "gtk-missing-image",
|
||||||
"name_keys" => ["Name"],
|
"name_keys" => ["Name"],
|
||||||
"terminal" => "termite",
|
"terminal" => "termite",
|
||||||
"VERSION" => 0.71,
|
"VERSION" => 0.71,
|
||||||
}
|
}
|
||||||
|
@ -4,16 +4,16 @@
|
|||||||
|
|
||||||
=for comment
|
=for comment
|
||||||
|
|
||||||
item: add an item inside the menu {item => ["command", "label", "icon"]},
|
item: add an item inside the menu {item => ["command", "label", "icon"]},
|
||||||
cat: add a category inside the menu {cat => ["name", "label", "icon"]},
|
cat: add a category inside the menu {cat => ["name", "label", "icon"]},
|
||||||
sep: horizontal line separator {sep => undef}, {sep => "label"},
|
sep: horizontal line separator {sep => undef}, {sep => "label"},
|
||||||
pipe: a pipe menu entry {pipe => ["command", "label", "icon"]},
|
pipe: a pipe menu entry {pipe => ["command", "label", "icon"]},
|
||||||
file: include the content of an XML file {file => "/path/to/file.xml"},
|
file: include the content of an XML file {file => "/path/to/file.xml"},
|
||||||
raw: any XML data supported by Openbox {raw => q(xml data)},
|
raw: any XML data supported by Openbox {raw => q(xml data)},
|
||||||
begin_cat: beginning of a category {begin_cat => ["name", "icon"]},
|
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"]},
|
obgenmenu: generic menu settings {obgenmenu => ["label", "icon"]},
|
||||||
exit: default "Exit" action {exit => ["label", "icon"]},
|
exit: default "Exit" action {exit => ["label", "icon"]},
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
|
@ -1,205 +1,205 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?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">
|
<openbox_menu xmlns="http://openbox.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://openbox.org/ file:///usr/share/openbox/menu.xsd">
|
||||||
<menu id="root-menu" label="Openbox 3">
|
<menu id="root-menu" label="Openbox 3">
|
||||||
<separator label="ArchLabs"/>
|
<separator label="ArchLabs"/>
|
||||||
<item label="Terminal">
|
<item label="Terminal">
|
||||||
<action name="Execute">
|
<action name="Execute">
|
||||||
<command>exo-open --launch TerminalEmulator</command>
|
<command>exo-open --launch TerminalEmulator</command>
|
||||||
</action>
|
</action>
|
||||||
</item>
|
|
||||||
<item label="Web Browser">
|
|
||||||
<action name="Execute">
|
|
||||||
<command>exo-open --launch WebBrowser</command>
|
|
||||||
</action>
|
|
||||||
</item>
|
|
||||||
<item label="File Manager">
|
|
||||||
<action name="Execute">
|
|
||||||
<command>exo-open --launch FileManager</command>
|
|
||||||
</action>
|
|
||||||
</item>
|
|
||||||
<item label="Text Editor">
|
|
||||||
<action name="Execute">
|
|
||||||
<command>geany</command>
|
|
||||||
</action>
|
|
||||||
</item>
|
|
||||||
<separator/>
|
|
||||||
<menu id="accessories" label="Accessories">
|
|
||||||
<item label="Calculator">
|
|
||||||
<action name="Execute">
|
|
||||||
<command>galculator</command>
|
|
||||||
</action>
|
|
||||||
</item>
|
|
||||||
<item label="Archive Manager">
|
|
||||||
<action name="Execute">
|
|
||||||
<command>file-roller</command>
|
|
||||||
</action>
|
|
||||||
</item>
|
|
||||||
<item label="Picture Viewer">
|
|
||||||
<action name="Execute">
|
|
||||||
<command>gpicview</command>
|
|
||||||
</action>
|
|
||||||
</item>
|
|
||||||
</menu>
|
|
||||||
<menu id="screenshot" label="Screenshot">
|
|
||||||
<item label="Screenshot Now">
|
|
||||||
<action name="Execute">
|
|
||||||
<command>scrot 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'</command>
|
|
||||||
</action>
|
|
||||||
</item>
|
|
||||||
<item label="Screenshot in 5">
|
|
||||||
<action name="Execute">
|
|
||||||
<command>scrot -d 5 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'</command>
|
|
||||||
</action>
|
|
||||||
</item>
|
|
||||||
<item label="Screenshot in 10">
|
|
||||||
<action name="Execute">
|
|
||||||
<command>scrot -d 10 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'</command>
|
|
||||||
</action>
|
|
||||||
</item>
|
|
||||||
<item label="Screenshot With Selection">
|
|
||||||
<action name="Execute">
|
|
||||||
<command>scrot -s 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'</command>
|
|
||||||
</action>
|
|
||||||
</item>
|
|
||||||
</menu>
|
|
||||||
<menu id="multimedia" label="Multimedia">
|
|
||||||
<item label="Music Player">
|
|
||||||
<action name="Execute">
|
|
||||||
<command>audacious</command>
|
|
||||||
</action>
|
|
||||||
</item>
|
|
||||||
<item label="Video Player">
|
|
||||||
<action name="Execute">
|
|
||||||
<command>mpv --player-operation-mode=pseudo-gui</command>
|
|
||||||
</action>
|
|
||||||
</item>
|
|
||||||
</menu>
|
|
||||||
<separator/>
|
|
||||||
<menu execute="al-places-pipemenu --recent ~/" id="pipe-placesmenu" label="Places"/>
|
|
||||||
<separator/>
|
|
||||||
<menu id="preferences" label="Preferences">
|
|
||||||
<menu id="obConfig" label="Openbox">
|
|
||||||
<item label="Settings Editor">
|
|
||||||
<action name="Execute">
|
|
||||||
<command>obconf</command>
|
|
||||||
</action>
|
|
||||||
</item>
|
</item>
|
||||||
<item label="Menu Editor">
|
<item label="Web Browser">
|
||||||
<action name="Execute">
|
<action name="Execute">
|
||||||
<command>kickshaw</command>
|
<command>exo-open --launch WebBrowser</command>
|
||||||
</action>
|
</action>
|
||||||
</item>
|
</item>
|
||||||
<item label="Keybind Editor">
|
<item label="File Manager">
|
||||||
<action name="Execute">
|
<action name="Execute">
|
||||||
<command>obkey</command>
|
<command>exo-open --launch FileManager</command>
|
||||||
</action>
|
</action>
|
||||||
</item>
|
</item>
|
||||||
<item label="Autostart Editor">
|
<item label="Text Editor">
|
||||||
<action name="Execute">
|
<action name="Execute">
|
||||||
<command>ob-autostart</command>
|
<command>geany</command>
|
||||||
</action>
|
</action>
|
||||||
</item>
|
</item>
|
||||||
<separator/>
|
<separator/>
|
||||||
<item label="Edit menu.xml">
|
<menu id="accessories" label="Accessories">
|
||||||
<action name="Execute">
|
<item label="Calculator">
|
||||||
<command>exo-open ~/.config/openbox/menu.xml</command>
|
<action name="Execute">
|
||||||
</action>
|
<command>galculator</command>
|
||||||
</item>
|
</action>
|
||||||
<item label="Edit rc.xml">
|
</item>
|
||||||
<action name="Execute">
|
<item label="Archive Manager">
|
||||||
<command>exo-open ~/.config/openbox/rc.xml</command>
|
<action name="Execute">
|
||||||
</action>
|
<command>file-roller</command>
|
||||||
</item>
|
</action>
|
||||||
<item label="Edit autostart">
|
</item>
|
||||||
<action name="Execute">
|
<item label="Picture Viewer">
|
||||||
<command>exo-open ~/.config/openbox/autostart</command>
|
<action name="Execute">
|
||||||
</action>
|
<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>
|
</item>
|
||||||
<separator/>
|
<separator/>
|
||||||
<item label="Openbox Reconfigure">
|
<item label="Lock Screen">
|
||||||
<action name="Reconfigure"/>
|
<action name="Execute">
|
||||||
|
<command>i3lock-fancy -p</command>
|
||||||
|
</action>
|
||||||
</item>
|
</item>
|
||||||
<item label="Openbox Restart">
|
<item label="Exit Openbox">
|
||||||
<action name="Restart"/>
|
<action name="Execute">
|
||||||
|
<command>rofr.sh -l</command>
|
||||||
|
</action>
|
||||||
</item>
|
</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>
|
||||||
<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>
|
</openbox_menu>
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -17,7 +17,7 @@ inherit = bar/master
|
|||||||
; Use $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; Use $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor =
|
||||||
|
|
||||||
modules-left = jgmenu config workspaces
|
modules-left = jgmenu workspaces
|
||||||
modules-center = window_switch clock
|
modules-center = window_switch clock
|
||||||
modules-right = pkg memory temperature coreuse network volume
|
modules-right = pkg memory temperature coreuse network volume
|
||||||
|
|
||||||
@ -44,7 +44,7 @@ inherit = bar/master
|
|||||||
; Use $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; Use $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor =
|
||||||
|
|
||||||
modules-left = jgmenu config i3 menu
|
modules-left = jgmenu i3 menu
|
||||||
modules-center = clock
|
modules-center = clock
|
||||||
modules-right = pkg memory temperature coreuse network volume
|
modules-right = pkg memory temperature coreuse network volume
|
||||||
|
|
||||||
|
@ -5,61 +5,61 @@
|
|||||||
[colors]
|
[colors]
|
||||||
background = #2b303b
|
background = #2b303b
|
||||||
foreground = #c0c5ce
|
foreground = #c0c5ce
|
||||||
moderate = #ebcb8b
|
moderate = #ebcb8b
|
||||||
urgent = #bf616a
|
urgent = #bf616a
|
||||||
trim = #8fa1b3
|
trim = #8fa1b3
|
||||||
blue = #8fa1b3
|
blue = #8fa1b3
|
||||||
pink = #bf616a
|
pink = #bf616a
|
||||||
orange = #ebcb8b
|
orange = #ebcb8b
|
||||||
purple = #b48ead
|
purple = #b48ead
|
||||||
yellow = #ebcb8b
|
yellow = #ebcb8b
|
||||||
border = #c0c5ce
|
border = #c0c5ce
|
||||||
|
|
||||||
|
|
||||||
[settings]
|
[settings]
|
||||||
throttle-output = 5
|
throttle-output = 5
|
||||||
throttle-output-for = 10
|
throttle-output-for = 10
|
||||||
throttle-input-for = 30
|
throttle-input-for = 30
|
||||||
compositing-background = source
|
compositing-background = source
|
||||||
compositing-foreground = source
|
compositing-foreground = source
|
||||||
compositing-overline = source
|
compositing-overline = source
|
||||||
compositing-underline = source
|
compositing-underline = source
|
||||||
compositing-border = source
|
compositing-border = source
|
||||||
screenchange-reload = true
|
screenchange-reload = true
|
||||||
format-foreground = ${colors.foreground}
|
format-foreground = ${colors.foreground}
|
||||||
format-background = ${colors.background}
|
format-background = ${colors.background}
|
||||||
|
|
||||||
;=====================================================
|
;=====================================================
|
||||||
; Master Bar
|
; Master Bar
|
||||||
;=====================================================
|
;=====================================================
|
||||||
|
|
||||||
[bar/master]
|
[bar/master]
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 24
|
height = 24
|
||||||
border-size = 0
|
border-size = 0
|
||||||
border-top-size = 0
|
border-top-size = 0
|
||||||
border-bottom-size = 2
|
border-bottom-size = 2
|
||||||
radius = 0
|
radius = 0
|
||||||
bottom = false
|
bottom = false
|
||||||
line-size = 2
|
line-size = 2
|
||||||
font-0 = "DejaVu Sans Mono:size=10:antialias=false;2"
|
font-0 = "DejaVu Sans Mono:size=10:antialias=false;2"
|
||||||
font-1 = "FontAwesome:size=10:antialias=false;2"
|
font-1 = "FontAwesome:size=10:antialias=false;2"
|
||||||
font-2 = "MaterialIcons:size=10:antialias=false;2"
|
font-2 = "MaterialIcons:size=10:antialias=false;2"
|
||||||
font-3 = "icomoon:size=10:antialias=false;2"
|
font-3 = "icomoon:size=10:antialias=false;2"
|
||||||
font-4 = "Ubuntu Nerd Font:size=10:antialias=false;2"
|
font-4 = "Ubuntu Nerd Font:size=10:antialias=false;2"
|
||||||
offset-x = 0
|
offset-x = 0
|
||||||
offset-y = 0
|
offset-y = 0
|
||||||
fixed-center = true
|
fixed-center = true
|
||||||
border-color = ${colors.border}
|
border-color = ${colors.border}
|
||||||
background = ${colors.background}
|
background = ${colors.background}
|
||||||
foreground = ${colors.foreground}
|
foreground = ${colors.foreground}
|
||||||
module-margin = 0
|
module-margin = 0
|
||||||
padding-right = 0
|
padding-right = 0
|
||||||
padding-left = 0
|
padding-left = 0
|
||||||
separator = │
|
separator = │
|
||||||
scroll-up = pamixer -i 2
|
scroll-up = pamixer -i 2
|
||||||
scroll-down = pamixer -d 2
|
scroll-down = pamixer -d 2
|
||||||
click-middle = skippy-xd --activate-window-picker
|
click-middle = skippy-xd --activate-window-picker
|
||||||
double-click-left = networkmanager_dmenu
|
double-click-left = networkmanager_dmenu
|
||||||
double-click-middle = skippy-xd --activate-window-picker
|
double-click-middle = skippy-xd --activate-window-picker
|
||||||
double-click-right = pavucontrol &
|
double-click-right = pavucontrol &
|
||||||
|
@ -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 &
|
|
@ -6,28 +6,13 @@
|
|||||||
;; Jgmenu ;;
|
;; Jgmenu ;;
|
||||||
;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;
|
||||||
[module/jgmenu]
|
[module/jgmenu]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
label = %output%
|
label = %output%
|
||||||
label-padding = 2
|
label-padding = 2
|
||||||
interval = 10
|
interval = 10
|
||||||
exec = echo ""
|
exec = echo ""
|
||||||
click-left = "jgmenu_run >/dev/null 2>&1 &"
|
click-left = "jgmenu_run >/dev/null 2>&1 &"
|
||||||
click-right = exo-open $HOME/.config/jgmenu/jgmenurc
|
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:]'
|
|
||||||
|
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
@ -36,8 +21,8 @@ exec = echo ""
|
|||||||
[module/workspaces]
|
[module/workspaces]
|
||||||
type = internal/xworkspaces
|
type = internal/xworkspaces
|
||||||
pin-workspaces = false
|
pin-workspaces = false
|
||||||
enable-click = true
|
enable-click = true
|
||||||
enable-scroll = true
|
enable-scroll = true
|
||||||
format-padding = 0
|
format-padding = 0
|
||||||
icon-0 = 1;
|
icon-0 = 1;
|
||||||
icon-1 = 2;
|
icon-1 = 2;
|
||||||
@ -51,20 +36,20 @@ icon-8 = 9;
|
|||||||
icon-9 = 10;
|
icon-9 = 10;
|
||||||
icon-default =
|
icon-default =
|
||||||
format = <label-state>
|
format = <label-state>
|
||||||
label-active = %icon% %name%
|
label-active = %icon% %name%
|
||||||
label-occupied = %icon% %name%
|
label-occupied = %icon% %name%
|
||||||
label-urgent = %icon% %name%
|
label-urgent = %icon% %name%
|
||||||
label-empty = %icon% %name%
|
label-empty = %icon% %name%
|
||||||
label-occupied-padding = 1
|
label-occupied-padding = 1
|
||||||
label-empty-padding = 1
|
label-empty-padding = 1
|
||||||
label-urgent-padding = 1
|
label-urgent-padding = 1
|
||||||
label-active-padding = 1
|
label-active-padding = 1
|
||||||
label-active-foreground = ${colors.blue}
|
label-active-foreground = ${colors.blue}
|
||||||
label-active-underline = ${colors.blue}
|
label-active-underline = ${colors.blue}
|
||||||
label-occupied-underline = ${colors.blue}
|
label-occupied-underline = ${colors.blue}
|
||||||
label-urgent-foreground = ${colors.urgent}
|
label-urgent-foreground = ${colors.urgent}
|
||||||
label-urgent-underline = ${colors.urgent}
|
label-urgent-underline = ${colors.urgent}
|
||||||
label-empty-foreground = ${colors.foreground}
|
label-empty-foreground = ${colors.foreground}
|
||||||
|
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;
|
||||||
@ -95,18 +80,17 @@ label-visible-underline = ${colors.trim}
|
|||||||
label-urgent-underline = ${colors.urgent}
|
label-urgent-underline = ${colors.urgent}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;
|
||||||
;;Bspwm Workspaces;;
|
;;Bspwm Workspaces;;
|
||||||
;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;
|
||||||
[module/bspwm]
|
[module/bspwm]
|
||||||
type = internal/bspwm
|
type = internal/bspwm
|
||||||
pin-workspaces = true
|
pin-workspaces = true
|
||||||
inline-mode = false
|
inline-mode = false
|
||||||
enable-click = true
|
enable-click = true
|
||||||
enable-scroll = false
|
enable-scroll = false
|
||||||
reverse-scroll = false
|
reverse-scroll = false
|
||||||
fuzzy-match = false
|
fuzzy-match = false
|
||||||
; ws-icon-[0-9]+ = label;icon
|
; ws-icon-[0-9]+ = label;icon
|
||||||
; Note that the label needs to correspond with the bspwm workspace name
|
; Note that the label needs to correspond with the bspwm workspace name
|
||||||
ws-icon-0 = I;
|
ws-icon-0 = I;
|
||||||
@ -120,7 +104,6 @@ ws-icon-7 = VIII;
|
|||||||
ws-icon-8 = IX;
|
ws-icon-8 = IX;
|
||||||
ws-icon-9 = X;
|
ws-icon-9 = X;
|
||||||
;ws-icon-default = ♟
|
;ws-icon-default = ♟
|
||||||
|
|
||||||
format = <label-state> <label-mode>
|
format = <label-state> <label-mode>
|
||||||
label-monitor = %name%
|
label-monitor = %name%
|
||||||
label-mode-padding = 1
|
label-mode-padding = 1
|
||||||
@ -140,7 +123,6 @@ label-focused-underline = ${colors.blue}
|
|||||||
label-occupied-underline = ${colors.purple}
|
label-occupied-underline = ${colors.purple}
|
||||||
label-urgent-foreground = ${colors.urgent}
|
label-urgent-foreground = ${colors.urgent}
|
||||||
label-urgent-underline = ${colors.urgent}
|
label-urgent-underline = ${colors.urgent}
|
||||||
|
|
||||||
; The following labels will be used to indicate the layout/mode
|
; The following labels will be used to indicate the layout/mode
|
||||||
; for the focused workspace. Requires <label-mode>
|
; for the focused workspace. Requires <label-mode>
|
||||||
label-monocle =
|
label-monocle =
|
||||||
@ -156,17 +138,16 @@ label-locked-foreground = ${colors.yellow}
|
|||||||
label-private-foreground = ${colors.urgent}
|
label-private-foreground = ${colors.urgent}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;;;;;;;;;;;;;
|
;;;;;;;;;;;;;
|
||||||
;; Network ;;
|
;; Network ;;
|
||||||
;;;;;;;;;;;;;
|
;;;;;;;;;;;;;
|
||||||
[module/network]
|
[module/network]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
exec = check-network
|
exec = check-network
|
||||||
click-left = networkmanager_dmenu &
|
click-left = networkmanager_dmenu &
|
||||||
click-right = networkmanager_dmenu &
|
click-right = networkmanager_dmenu &
|
||||||
label-padding = 1
|
label-padding = 1
|
||||||
tail = true
|
tail = true
|
||||||
|
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;
|
||||||
@ -174,12 +155,12 @@ tail = true
|
|||||||
;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;
|
||||||
[module/window_switch]
|
[module/window_switch]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
interval = 5
|
interval = 5
|
||||||
label = %output%
|
label = %output%
|
||||||
click-left = skippy-xd
|
click-left = skippy-xd
|
||||||
click-right = skippy-xd
|
click-right = skippy-xd
|
||||||
exec = echo " "
|
exec = echo " "
|
||||||
format = <label>
|
format = <label>
|
||||||
|
|
||||||
|
|
||||||
;;;;;;;;;
|
;;;;;;;;;
|
||||||
@ -187,10 +168,10 @@ format = <label>
|
|||||||
;;;;;;;;;
|
;;;;;;;;;
|
||||||
[module/coreuse]
|
[module/coreuse]
|
||||||
type = internal/cpu
|
type = internal/cpu
|
||||||
interval = 1
|
interval = 1
|
||||||
format-padding = 1
|
format-padding = 1
|
||||||
format = <label><ramp-coreload>
|
format = <label><ramp-coreload>
|
||||||
label = %{A1:termite --exec=htop & disown:} %percentage%% %{A}
|
label = %{A1:termite --exec=htop & disown:} %percentage%% %{A}
|
||||||
ramp-coreload-0 = ▂
|
ramp-coreload-0 = ▂
|
||||||
ramp-coreload-1 = ▃
|
ramp-coreload-1 = ▃
|
||||||
ramp-coreload-2 = ▄
|
ramp-coreload-2 = ▄
|
||||||
@ -209,33 +190,33 @@ ramp-coreload-5-foreground = ${colors.urgent}
|
|||||||
;; MEM ;;
|
;; MEM ;;
|
||||||
;;;;;;;;;
|
;;;;;;;;;
|
||||||
[module/memory]
|
[module/memory]
|
||||||
type = internal/memory
|
type = internal/memory
|
||||||
interval = 3
|
interval = 3
|
||||||
format = <label>
|
format = <label>
|
||||||
label-padding = 1
|
label-padding = 1
|
||||||
label = %{A1:termite --exec=htop & disown:} %percentage_used%%%{A}
|
label = %{A1:termite --exec=htop & disown:} %percentage_used%%%{A}
|
||||||
|
|
||||||
|
|
||||||
;;;;;;;;;
|
;;;;;;;;;
|
||||||
;; PKG ;;
|
;; PKG ;;
|
||||||
;;;;;;;;;
|
;;;;;;;;;
|
||||||
[module/pkg]
|
[module/pkg]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
exec = check-updates
|
exec = updates.sh
|
||||||
exec-if = "ping -q -w 2 -c 1 176.34.135.167 > /dev/null"
|
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}
|
label = %{A1:termite --exec=pacli & disown:} %{A3:termite --exec=pacli & disown:}%output%%{A} %{A}
|
||||||
tail = true
|
tail = true
|
||||||
|
|
||||||
|
|
||||||
;;;;;;;;;;;
|
;;;;;;;;;;;
|
||||||
;; Clock ;;
|
;; Clock ;;
|
||||||
;;;;;;;;;;;
|
;;;;;;;;;;;
|
||||||
[module/clock]
|
[module/clock]
|
||||||
type = internal/date
|
type = internal/date
|
||||||
format = <label>
|
format = <label>
|
||||||
lebel-padding = 1
|
lebel-padding = 1
|
||||||
interval = 5
|
interval = 5
|
||||||
time = %R
|
time = %R
|
||||||
label = %{A1:gsimplecal & disown:} %{A3:gsimplecal & disown:} %time%%{A} %{A}
|
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]
|
[module/temperature]
|
||||||
type = internal/temperature
|
type = internal/temperature
|
||||||
interval = 3
|
interval = 3
|
||||||
thermal-zone = 0
|
thermal-zone = 0
|
||||||
warn-temperature = 70
|
warn-temperature = 70
|
||||||
format = <ramp><label>
|
format = <ramp><label>
|
||||||
format-padding = 1
|
format-padding = 1
|
||||||
label = %{A1:termite --exec='watch sensors' & disown:} %temperature%%{A}
|
label = %{A1:termite --exec='watch sensors' & disown:} %temperature%%{A}
|
||||||
ramp-0 = ""
|
ramp-0 = ""
|
||||||
ramp-1 = ""
|
ramp-1 = ""
|
||||||
ramp-2 = ""
|
ramp-2 = ""
|
||||||
ramp-3 = ""
|
ramp-3 = ""
|
||||||
ramp-0-foreground = ${colors.blue}
|
ramp-0-foreground = ${colors.blue}
|
||||||
ramp-1-foreground = ${colors.pink}
|
ramp-1-foreground = ${colors.pink}
|
||||||
ramp-2-foreground = ${colors.purple}
|
ramp-2-foreground = ${colors.purple}
|
||||||
ramp-3-foreground = ${colors.urgent}
|
ramp-3-foreground = ${colors.urgent}
|
||||||
format-warn = <label-warn>
|
format-warn = <label-warn>
|
||||||
label-warn = " %temperature%"
|
label-warn = " %temperature%"
|
||||||
label-warn-padding = 1
|
label-warn-padding = 1
|
||||||
label-warn-foreground = ${colors.urgent}
|
label-warn-foreground = ${colors.urgent}
|
||||||
|
|
||||||
@ -292,7 +273,7 @@ ramp-volume-3-foreground = ${colors.urgent}
|
|||||||
[module/battery]
|
[module/battery]
|
||||||
type = internal/battery
|
type = internal/battery
|
||||||
; Use $ ls -1 /sys/class/power_supply/
|
; Use $ ls -1 /sys/class/power_supply/
|
||||||
battery = BAT1
|
battery = BAT0
|
||||||
adapter = AC
|
adapter = AC
|
||||||
full-at = 98
|
full-at = 98
|
||||||
poll-interval = 5
|
poll-interval = 5
|
||||||
@ -374,34 +355,34 @@ menu-3-3-exec = systemctl poweroff
|
|||||||
;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;
|
||||||
[module/compton_toggle]
|
[module/compton_toggle]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
tail = true
|
tail = true
|
||||||
label = %output%
|
label = %output%
|
||||||
click-left = toggle-compton --toggle &
|
click-left = toggle.sh -c -tg &
|
||||||
exec = toggle-compton
|
exec = toggle.sh -c
|
||||||
format = <label>
|
format = <label>
|
||||||
|
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;
|
||||||
;; KEYBOARD ;;
|
;; KEYBOARD ;;
|
||||||
;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;
|
||||||
[module/keyboard]
|
[module/keyboard]
|
||||||
type = internal/xkeyboard
|
type = internal/xkeyboard
|
||||||
blacklist-0 = num lock
|
blacklist-0 = num lock
|
||||||
blacklist-1 = scroll lock
|
blacklist-1 = scroll lock
|
||||||
format = <label-layout>
|
format = <label-layout>
|
||||||
format-padding = 1
|
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 ;;
|
;; ETHERNET ;;
|
||||||
;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;
|
||||||
[module/wired-network]
|
[module/wired-network]
|
||||||
type = internal/network
|
type = internal/network
|
||||||
interface =
|
interface =
|
||||||
format-connected = <label-connected>
|
format-connected = <label-connected>
|
||||||
format-disconnected = <label-disconnected>
|
format-disconnected = <label-disconnected>
|
||||||
label-connected = %local_ip%
|
label-connected = %local_ip%
|
||||||
format-connected-foreground = ${colors.purple}
|
format-connected-foreground = ${colors.purple}
|
||||||
|
|
||||||
|
|
||||||
@ -409,24 +390,24 @@ format-connected-foreground = ${colors.purple}
|
|||||||
;; REDSHIFT ;;
|
;; REDSHIFT ;;
|
||||||
;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;
|
||||||
[module/redshift]
|
[module/redshift]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
tail = true
|
tail = true
|
||||||
exec = toggle-redshift
|
exec = toggle.sh -r
|
||||||
label = %output%
|
label = %output%
|
||||||
click-left = toggle-redshift --toggle &
|
click-left = toggle.sh -r -tg &
|
||||||
|
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;
|
||||||
;; FILESYSTEM ;;
|
;; FILESYSTEM ;;
|
||||||
;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;
|
||||||
[module/filesystem]
|
[module/filesystem]
|
||||||
type = internal/fs
|
type = internal/fs
|
||||||
format-mounted = <label-mounted>
|
format-mounted = <label-mounted>
|
||||||
label-mounted = %mountpoint% : %percentage_free%%
|
label-mounted = %mountpoint% : %percentage_free%%
|
||||||
mount-0 = /
|
mount-0 = /
|
||||||
interval = 1200
|
interval = 1200
|
||||||
fixed-values = false
|
fixed-values = false
|
||||||
spacing = 2
|
spacing = 2
|
||||||
label-mounted-foreground = ${colors.yellow}
|
label-mounted-foreground = ${colors.yellow}
|
||||||
|
|
||||||
|
|
||||||
@ -435,27 +416,27 @@ label-mounted-foreground = ${colors.yellow}
|
|||||||
;;;;;;;;;
|
;;;;;;;;;
|
||||||
[module/mpd]
|
[module/mpd]
|
||||||
type = internal/mpd
|
type = internal/mpd
|
||||||
format-online = <bar-progress> <icon-prev> <icon-stop> <toggle> <icon-next> <label-song>
|
format-online = <bar-progress> <icon-prev> <icon-stop> <toggle> <icon-next> <label-song>
|
||||||
format-offline = <label-offline>
|
format-offline = <label-offline>
|
||||||
bar-progress-format = %{+o +u}%fill%%{-o -u}%indicator%%{+o +u}%empty%%{-u -o}
|
bar-progress-format = %{+o +u}%fill%%{-o -u}%indicator%%{+o +u}%empty%%{-u -o}
|
||||||
label-offline = mpd is off
|
label-offline = mpd is off
|
||||||
format-online-prefix = " "
|
format-online-prefix = " "
|
||||||
icon-play =
|
icon-play =
|
||||||
icon-pause =
|
icon-pause =
|
||||||
icon-stop =
|
icon-stop =
|
||||||
icon-prev =
|
icon-prev =
|
||||||
icon-next =
|
icon-next =
|
||||||
icon-random =
|
icon-random =
|
||||||
icon-repeat =
|
icon-repeat =
|
||||||
toggle-on-foreground =
|
toggle-on-foreground =
|
||||||
toggle-off-foreground = #55
|
toggle-off-foreground = #55
|
||||||
bar-progress-width = 35
|
bar-progress-width = 35
|
||||||
bar-progress-indicator = █
|
bar-progress-indicator = █
|
||||||
bar-progress-fill = █
|
bar-progress-fill = █
|
||||||
bar-progress-empty = ▒
|
bar-progress-empty = ▒
|
||||||
bar-progress-empty-font = 2
|
bar-progress-empty-font = 2
|
||||||
bar-progress-indicator-font = 2
|
bar-progress-indicator-font = 2
|
||||||
bar-progress-fill-font = 2
|
bar-progress-fill-font = 2
|
||||||
bar-progress-fill-foreground = #bb
|
bar-progress-fill-foreground = #bb
|
||||||
bar-progress-empty-foreground = #44
|
bar-progress-empty-foreground = #44
|
||||||
bar-progress-indicator-foreground = #A85659
|
bar-progress-indicator-foreground = #A85659
|
||||||
|
@ -1 +0,0 @@
|
|||||||
rofi.theme: /usr/share/rofi/themes//archlabs-shadow.rasi
|
|
@ -7,8 +7,8 @@ files=("$HOME/.config/polybar/config"
|
|||||||
"$HOME/.config/polybar/sessions/i3-sessionfile"
|
"$HOME/.config/polybar/sessions/i3-sessionfile"
|
||||||
"$HOME/.config/polybar/sessions/bspwm-sessionfile"
|
"$HOME/.config/polybar/sessions/bspwm-sessionfile"
|
||||||
"$HOME/.config/polybar/sessions/openbox-sessionfile"
|
"$HOME/.config/polybar/sessions/openbox-sessionfile"
|
||||||
|
"$HOME/.config/openbox/autostart"
|
||||||
"$HOME/.config/gtk-3.0/bookmarks"
|
"$HOME/.config/gtk-3.0/bookmarks"
|
||||||
"$HOME/.gorice/templates/i3/data.json"
|
|
||||||
"$HOME/.mozilla/firefox/archlabs.default/prefs.js"
|
"$HOME/.mozilla/firefox/archlabs.default/prefs.js"
|
||||||
"$HOME/.mozilla/firefox/archlabs.default/sessionstore.js"
|
"$HOME/.mozilla/firefox/archlabs.default/sessionstore.js"
|
||||||
)
|
)
|
||||||
|
@ -12,11 +12,11 @@ super + f
|
|||||||
|
|
||||||
# program launcher
|
# program launcher
|
||||||
super + @space
|
super + @space
|
||||||
rofi-apps
|
rofr.sh -r
|
||||||
|
|
||||||
# program launcher
|
# program launcher
|
||||||
alt + F1
|
alt + F1
|
||||||
rofi-gorice
|
rofr.sh -r
|
||||||
|
|
||||||
# make sxhkd reload its configuration files:
|
# make sxhkd reload its configuration files:
|
||||||
super + shift + r
|
super + shift + r
|
||||||
@ -24,7 +24,7 @@ super + shift + r
|
|||||||
|
|
||||||
# quit bspwm normally
|
# quit bspwm normally
|
||||||
super + x
|
super + x
|
||||||
rofi-logout
|
rofr.sh -l
|
||||||
|
|
||||||
# close and kill
|
# close and kill
|
||||||
super + {_,shift + }q
|
super + {_,shift + }q
|
||||||
@ -124,25 +124,14 @@ super + alt + shift + {h,j,k,l}
|
|||||||
super + {Left,Down,Up,Right}
|
super + {Left,Down,Up,Right}
|
||||||
bspc node -v {-20 0,0 20,0 -20,20 0}
|
bspc node -v {-20 0,0 20,0 -20,20 0}
|
||||||
|
|
||||||
# VOLUME
|
|
||||||
|
|
||||||
### Mute
|
|
||||||
XF86AudioMute
|
XF86AudioMute
|
||||||
pamixer -t
|
pamixer -t
|
||||||
|
|
||||||
### Master Volume
|
|
||||||
XF86AudioRaiseVolume
|
XF86AudioRaiseVolume
|
||||||
pamixer -i 2
|
pamixer -i 2
|
||||||
|
|
||||||
XF86AudioLowerVolume
|
XF86AudioLowerVolume
|
||||||
pamixer -d 2
|
pamixer -d 2
|
||||||
|
|
||||||
# BRIGHTNESS
|
|
||||||
|
|
||||||
# Brightness goes up
|
|
||||||
XF86MonBrightnessUp
|
XF86MonBrightnessUp
|
||||||
xbacklight +10
|
xbacklight +10
|
||||||
|
|
||||||
# Brightness goes down
|
|
||||||
XF86MonBrightnessDown
|
XF86MonBrightnessDown
|
||||||
xbacklight -10
|
xbacklight -10
|
||||||
|
@ -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}}
|
|
@ -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}}
|
|
@ -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"
|
|
||||||
|
|
@ -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"
|
|
@ -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"
|
|
@ -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"
|
|
||||||
|
|
@ -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"
|
|
||||||
|
|
@ -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"}
|
|
@ -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"
|
|
||||||
|
|
||||||
|
|
@ -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"
|
|
||||||
|
|
@ -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"
|
|
||||||
|
|
@ -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"
|
|
||||||
|
|
@ -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"
|
|
||||||
|
|
@ -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"
|
|
||||||
|
|
@ -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"
|
|
||||||
|
|
@ -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"
|
|
||||||
|
|
@ -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"
|
|
||||||
|
|
@ -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"
|
|
@ -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}}"
|
|
@ -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"
|
|
||||||
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
|||||||
#define bullet_width 5
|
|
||||||
#define bullet_height 5
|
|
||||||
static unsigned char bullet_bits[] = {
|
|
||||||
0x01, 0x05, 0x15, 0x05, 0x01 };
|
|
@ -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 };
|
|
@ -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 };
|
|
@ -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 };
|
|
@ -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 };
|
|
@ -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 };
|
|
@ -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 };
|
|
@ -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 };
|
|
@ -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 };
|
|
@ -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
|
|
@ -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
6
home/.xprofile
Executable file → Normal file
@ -5,22 +5,16 @@
|
|||||||
XDG_CONFIG_HOME=$HOME/.config
|
XDG_CONFIG_HOME=$HOME/.config
|
||||||
export XDG_CONFIG_HOME
|
export XDG_CONFIG_HOME
|
||||||
|
|
||||||
# include ~/bin in path
|
|
||||||
if [ -d "$HOME/bin" ]; then
|
if [ -d "$HOME/bin" ]; then
|
||||||
PATH=$HOME/bin:$PATH
|
PATH=$HOME/bin:$PATH
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# include sbin in PATH
|
|
||||||
if [ -d "/sbin" ]; then
|
if [ -d "/sbin" ]; then
|
||||||
PATH="/sbin:$PATH"
|
PATH="/sbin:$PATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# include sbin in PATH
|
|
||||||
if [ -d "/usr/sbin" ]; then
|
if [ -d "/usr/sbin" ]; then
|
||||||
PATH="/usr/sbin:$PATH"
|
PATH="/usr/sbin:$PATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# launch dbus
|
|
||||||
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
|
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
|
||||||
eval $(dbus-launch --sh-syntax --exit-with-session)
|
eval $(dbus-launch --sh-syntax --exit-with-session)
|
||||||
fi
|
fi
|
||||||
|
@ -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
|
|
@ -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
|
|
@ -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()
|
|
BIN
home/bin/gorice
BIN
home/bin/gorice
Binary file not shown.
@ -1,32 +1,25 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
TRASH_DIRECTORY="${BLOCK_INSTANCE}"
|
TRASH_DIRECTORY="$BLOCK_INSTANCE"
|
||||||
|
if [[ $TRASH_DIRECTORY = "" ]]; then
|
||||||
if [[ "${TRASH_DIRECTORY}" = "" ]]; then
|
TRASH_DIRECTORY="${XDG_DATA_HOME:-$HOME/.local/share}/Trash"
|
||||||
TRASH_DIRECTORY="${XDG_DATA_HOME:-${HOME}/.local/share}/Trash"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Left click
|
if [[ $BLOCK_BUTTON -eq 1 ]]; then
|
||||||
if [[ "${BLOCK_BUTTON}" -eq 1 ]]; then
|
xdg-open "$TRASH_DIRECTORY/files"
|
||||||
xdg-open "${TRASH_DIRECTORY}/files"
|
elif [[ $BLOCK_BUTTON -eq 3 ]]; then
|
||||||
# Right click
|
rm -r "$TRASH_DIRECTORY/files"
|
||||||
elif [[ "${BLOCK_BUTTON}" -eq 3 ]]; then
|
rm -r "$TRASH_DIRECTORY/info"
|
||||||
# Delete all files permanently (unlink them)
|
mkdir "$TRASH_DIRECTORY/files"
|
||||||
rm -r "${TRASH_DIRECTORY}/files"
|
mkdir "$TRASH_DIRECTORY/info"
|
||||||
rm -r "${TRASH_DIRECTORY}/info"
|
|
||||||
# Create new directory
|
|
||||||
mkdir "${TRASH_DIRECTORY}/files"
|
|
||||||
mkdir "${TRASH_DIRECTORY}/info"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
TRASH_COUNT=$(ls -U -1 "${TRASH_DIRECTORY}/files" | wc -l)
|
TRASH_COUNT=$(ls -U -1 "$TRASH_DIRECTORY/files" | wc -l)
|
||||||
|
|
||||||
URGENT_VALUE=30
|
URGENT_VALUE=30
|
||||||
|
echo "$TRASH_COUNT"
|
||||||
echo "${TRASH_COUNT}"
|
echo "$TRASH_COUNT"
|
||||||
echo "${TRASH_COUNT}"
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
if [[ "${TRASH_COUNT}" -ge "${URGENT_VALUE}" ]]; then
|
if [[ $TRASH_COUNT -ge $URGENT_VALUE ]]; then
|
||||||
exit 31
|
exit 31
|
||||||
fi
|
fi
|
||||||
|
@ -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
|
|
@ -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"
|
|
@ -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}}"
|
|
@ -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
|
|
@ -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
|
|
@ -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"
|
|
@ -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
81
home/bin/rofr.sh
Executable 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
|
@ -1,6 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
|
||||||
if [[ "$(pidof compton)" ]]; then
|
if [[ "$(pidof compton)" ]]; then
|
||||||
al-compositor --restart
|
al-compositor --restart
|
||||||
else
|
else
|
||||||
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
158
home/bin/toggle.sh
Executable 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
36
home/bin/updates.sh
Executable 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
|
@ -1,10 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
#
|
|
||||||
# A script to upgrade existing installations of ArchLabs
|
|
||||||
#
|
|
||||||
# Written by Nathaniel Maia <natemaia10@gmail.com>
|
|
||||||
#
|
|
||||||
|
|
||||||
REPOS='
|
REPOS='
|
||||||
[archlabs_repo]
|
[archlabs_repo]
|
||||||
@ -30,6 +25,7 @@ while ! [[ $(ping -c1 8.8.8.8) ]]; do
|
|||||||
clear; sleep 1
|
clear; sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
backup_configs() {
|
backup_configs() {
|
||||||
if ! [[ -e "$HOME/Downloads/$USER-backup.tar.gz" ]]; then
|
if ! [[ -e "$HOME/Downloads/$USER-backup.tar.gz" ]]; then
|
||||||
tar czvf "$HOME/Downloads/$USER-backup.tar.gz" "${HOME_FILES[@]}" >/dev/null 2>&1
|
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
|
for f in "${SKEL_FILES[@]}"; do
|
||||||
cp -rf "$f" ~/
|
cp -rf "$f" ~/
|
||||||
done
|
done
|
||||||
cp -f /etc/skel/.{bashrc,zshrc} "$HOME/"
|
cp -f /etc/skel/.{bashrc,zshrc} ~/
|
||||||
}
|
}
|
||||||
|
|
||||||
new_configs() {
|
new_configs() {
|
||||||
|
Reference in New Issue
Block a user