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"
|
||||||
|
65
home/.Xresources
Executable file → Normal file
65
home/.Xresources
Executable file → Normal file
@ -6,45 +6,29 @@
|
|||||||
*.background: #2b303b
|
*.background: #2b303b
|
||||||
*.cursorColor: #c0c5ce
|
*.cursorColor: #c0c5ce
|
||||||
|
|
||||||
! black
|
|
||||||
*.color0: #2b303b
|
*.color0: #2b303b
|
||||||
*.color8: #65737e
|
|
||||||
|
|
||||||
! red
|
|
||||||
*.color1: #bf616a
|
*.color1: #bf616a
|
||||||
*.color9: #bf616a
|
|
||||||
|
|
||||||
! green
|
|
||||||
*.color2: #a3be8c
|
*.color2: #a3be8c
|
||||||
*.color10: #a3be8c
|
|
||||||
|
|
||||||
! yellow
|
|
||||||
*.color3: #ebcb8b
|
*.color3: #ebcb8b
|
||||||
*.color11: #ebcb8b
|
|
||||||
|
|
||||||
! blue
|
|
||||||
*.color4: #8fa1b3
|
*.color4: #8fa1b3
|
||||||
*.color12: #8fa1b3
|
|
||||||
|
|
||||||
! magenta
|
|
||||||
*.color5: #b48ead
|
*.color5: #b48ead
|
||||||
*.color13: #b48ead
|
|
||||||
|
|
||||||
! cyan
|
|
||||||
*.color6: #96b5b4
|
*.color6: #96b5b4
|
||||||
*.color14: #96b5b4
|
|
||||||
|
|
||||||
! white
|
|
||||||
*.color7: #65737e
|
*.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,33 +36,21 @@ 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
|
||||||
! -----------------------------------------------------------------------------
|
! -----------------------------------------------------------------------------
|
||||||
|
|
||||||
! general settings
|
|
||||||
URxvt*saveline: 15000
|
URxvt*saveline: 15000
|
||||||
URxvt*termName: rxvt-256color
|
URxvt*termName: rxvt-256color
|
||||||
URxvt*iso14755: false
|
URxvt*iso14755: false
|
||||||
|
|
||||||
! appearance
|
|
||||||
URxvt*depth: 32
|
URxvt*depth: 32
|
||||||
URxvt*background: [90]#2b303b
|
URxvt*background: [90]#2b303b
|
||||||
URxvt*scrollBar: false
|
URxvt*scrollBar: false
|
||||||
URxvt*scrollBar_right: false
|
URxvt*scrollBar_right: false
|
||||||
URxvt*internalBorder: 0
|
URxvt*internalBorder: 0
|
||||||
URxvt*externalBorder: 0
|
URxvt*externalBorder: 0
|
||||||
|
|
||||||
! fonts
|
|
||||||
URxvt*letterSpace: -1
|
URxvt*letterSpace: -1
|
||||||
URxvt.font: xft:Ubuntu Mono:size=11
|
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
|
URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select
|
||||||
|
|
||||||
! macros for clipboard and selection "m"=Alt
|
|
||||||
URxvt.copyCommand: xclip -i -selection clipboard
|
URxvt.copyCommand: xclip -i -selection clipboard
|
||||||
URxvt.pasteCommand: xclip -o -selection clipboard
|
URxvt.pasteCommand: xclip -o -selection clipboard
|
||||||
URxvt.keysym.m-c: perl:clipboard:copy
|
URxvt.keysym.m-c: perl:clipboard:copy
|
||||||
@ -87,25 +59,19 @@ URxvt.urlLauncher: exo-open
|
|||||||
URxvt.underlineURLs: true
|
URxvt.underlineURLs: true
|
||||||
URxvt.urlButton: 1
|
URxvt.urlButton: 1
|
||||||
URxvt.geometry: 90x30
|
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*cursorColor: white
|
||||||
UXTerm*VT100.geometry: 90x30
|
UXTerm*VT100.geometry: 90x30
|
||||||
UXTerm*font: Monospace
|
UXTerm*font: Ubuntu Mono
|
||||||
UXTerm*faceSize: 12
|
UXTerm*faceSize: 12
|
||||||
UXTerm*dynamicColors: true
|
UXTerm*dynamicColors: true
|
||||||
UXTerm*utf8: 2
|
UXTerm*utf8: 2
|
||||||
@ -118,3 +84,12 @@ UXTerm*rightScrollBar: false
|
|||||||
UXTerm*jumpScroll: true
|
UXTerm*jumpScroll: true
|
||||||
UXTerm*multiScroll: true
|
UXTerm*multiScroll: true
|
||||||
UXTerm*toolBar: false
|
UXTerm*toolBar: false
|
||||||
|
|
||||||
|
! ------------------------------------------------------------------------------
|
||||||
|
! Rofi
|
||||||
|
! ------------------------------------------------------------------------------
|
||||||
|
rofi.font: Ubuntu Mono 12
|
||||||
|
rofi.color-enabled: true
|
||||||
|
rofi.color-window: #2b303b, #2b303b, #2b303b
|
||||||
|
rofi.color-normal: #2b303b, #c0c5ce, #2b303b, #8fa1b3, #2b303b
|
||||||
|
rofi.separator-style: solid
|
||||||
|
@ -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
|
|
@ -2,19 +2,14 @@
|
|||||||
|
|
||||||
# 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 &
|
||||||
|
|
||||||
@ -41,7 +36,6 @@ 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,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' \
|
||||||
@ -181,9 +181,7 @@ 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
|
|
||||||
bindsym $Mod+space floating toggle
|
|
||||||
floating_modifier Mod1
|
floating_modifier Mod1
|
||||||
|
|
||||||
# change focus
|
# change focus
|
||||||
@ -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,10 +263,6 @@ bindsym $Mod+Control+Shift+minus gaps outer all minus 5
|
|||||||
################# application settings #################
|
################# application settings #################
|
||||||
####################################################################################################
|
####################################################################################################
|
||||||
|
|
||||||
# focus & floating
|
|
||||||
for_window [class="(?i)(?:lxapp\w+|peek)"] floating enable, focus
|
|
||||||
for_window [class="(?i)(?:gpic\w+|gvim)"] floating enable, focus
|
|
||||||
for_window [class="(?i)(?:deluge|nitrogen)"] floating enable, focus
|
|
||||||
for_window [class="(?i)(?:qt5ct|pinentry)"] floating enable, focus
|
for_window [class="(?i)(?:qt5ct|pinentry)"] floating enable, focus
|
||||||
for_window [class="(?i)(?:termite|thunar)"] focus
|
for_window [class="(?i)(?:termite|thunar)"] focus
|
||||||
for_window [class="(?i)(?:geany|firefox)"] focus
|
for_window [class="(?i)(?:geany|firefox)"] focus
|
||||||
@ -279,16 +272,11 @@ for_window [class="(?i)(?:geany|firefox)"] focus
|
|||||||
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'
|
|
||||||
|
@ -198,7 +198,7 @@
|
|||||||
</item>
|
</item>
|
||||||
<item label="Exit Openbox">
|
<item label="Exit Openbox">
|
||||||
<action name="Execute">
|
<action name="Execute">
|
||||||
<command>rofi-logout</command>
|
<command>rofr.sh -l</command>
|
||||||
</action>
|
</action>
|
||||||
</item>
|
</item>
|
||||||
</menu>
|
</menu>
|
||||||
|
@ -5,116 +5,61 @@
|
|||||||
</resistance>
|
</resistance>
|
||||||
<focus>
|
<focus>
|
||||||
<focusNew>yes</focusNew>
|
<focusNew>yes</focusNew>
|
||||||
<!-- always try to focus new windows when they appear. other rules do
|
|
||||||
apply -->
|
|
||||||
<followMouse>no</followMouse>
|
<followMouse>no</followMouse>
|
||||||
<!-- move focus to a window when you move the mouse into it -->
|
|
||||||
<focusLast>yes</focusLast>
|
<focusLast>yes</focusLast>
|
||||||
<!-- focus the last used window when changing desktops, instead of the one
|
|
||||||
under the mouse pointer. when followMouse is enabled -->
|
|
||||||
<underMouse>no</underMouse>
|
<underMouse>no</underMouse>
|
||||||
<!-- move focus under the mouse, even when the mouse is not moving -->
|
|
||||||
<focusDelay>200</focusDelay>
|
<focusDelay>200</focusDelay>
|
||||||
<!-- when followMouse is enabled, the mouse must be inside the window for
|
|
||||||
this many milliseconds (1000 = 1 sec) before moving focus to it -->
|
|
||||||
<raiseOnFocus>no</raiseOnFocus>
|
<raiseOnFocus>no</raiseOnFocus>
|
||||||
<!-- when followMouse is enabled, and a window is given focus by moving the
|
|
||||||
mouse into it, also raise the window -->
|
|
||||||
</focus>
|
</focus>
|
||||||
<placement>
|
<placement>
|
||||||
<policy>Smart</policy>
|
<policy>Smart</policy>
|
||||||
<!-- 'Smart' or 'UnderMouse' -->
|
|
||||||
<center>yes</center>
|
<center>yes</center>
|
||||||
<!-- whether to place windows in the center of the free area found or
|
|
||||||
the top left corner -->
|
|
||||||
<monitor>Mouse</monitor>
|
<monitor>Mouse</monitor>
|
||||||
<!-- with Smart placement on a multi-monitor system, try to place new windows
|
|
||||||
on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
|
|
||||||
the active window is, 'Primary' - only on the primary monitor -->
|
|
||||||
<primaryMonitor>Mouse</primaryMonitor>
|
<primaryMonitor>Mouse</primaryMonitor>
|
||||||
<!-- The monitor where Openbox should place popup dialogs such as the
|
|
||||||
focus cycling popup, or the desktop switch popup. It can be an index
|
|
||||||
from 1, specifying a particular monitor. Or it can be one of the
|
|
||||||
following: 'Mouse' - where the mouse is, or
|
|
||||||
'Active' - where the active window is -->
|
|
||||||
</placement>
|
</placement>
|
||||||
<theme>
|
<theme>
|
||||||
<name>gorice</name>
|
<name>ArchLabs-Dark</name>
|
||||||
<titleLayout>NLIMC</titleLayout>
|
<titleLayout>NLIMC</titleLayout>
|
||||||
<!--
|
|
||||||
available characters are NDSLIMC, each can occur at most once.
|
|
||||||
N: window icon
|
|
||||||
L: window label (AKA title).
|
|
||||||
I: iconify
|
|
||||||
M: maximize
|
|
||||||
C: close
|
|
||||||
S: shade (roll up/down)
|
|
||||||
D: omnipresent (on all desktops).
|
|
||||||
-->
|
|
||||||
<keepBorder>yes</keepBorder>
|
<keepBorder>yes</keepBorder>
|
||||||
<animateIconify>yes</animateIconify>
|
<animateIconify>yes</animateIconify>
|
||||||
<font place="ActiveWindow">
|
<font place="ActiveWindow">
|
||||||
<name>Roboto</name>
|
<name>Roboto</name>
|
||||||
<size>11</size>
|
<size>11</size>
|
||||||
<!-- font size in points -->
|
|
||||||
<weight>Normal</weight>
|
<weight>Normal</weight>
|
||||||
<!-- 'bold' or 'normal' -->
|
|
||||||
<slant>Normal</slant>
|
<slant>Normal</slant>
|
||||||
<!-- 'italic' or 'normal' -->
|
|
||||||
</font>
|
</font>
|
||||||
<font place="InactiveWindow">
|
<font place="InactiveWindow">
|
||||||
<name>Roboto</name>
|
<name>Roboto</name>
|
||||||
<size>11</size>
|
<size>11</size>
|
||||||
<!-- font size in points -->
|
|
||||||
<weight>Normal</weight>
|
<weight>Normal</weight>
|
||||||
<!-- 'bold' or 'normal' -->
|
|
||||||
<slant>Italic</slant>
|
<slant>Italic</slant>
|
||||||
<!-- 'italic' or 'normal' -->
|
|
||||||
</font>
|
</font>
|
||||||
<font place="MenuHeader">
|
<font place="MenuHeader">
|
||||||
<name>Roboto</name>
|
<name>Roboto</name>
|
||||||
<size>11</size>
|
<size>11</size>
|
||||||
<!-- font size in points -->
|
|
||||||
<weight>Normal</weight>
|
<weight>Normal</weight>
|
||||||
<!-- 'bold' or 'normal' -->
|
|
||||||
<slant>Normal</slant>
|
<slant>Normal</slant>
|
||||||
<!-- 'italic' or 'normal' -->
|
|
||||||
</font>
|
</font>
|
||||||
<font place="MenuItem">
|
<font place="MenuItem">
|
||||||
<name>Roboto</name>
|
<name>Roboto</name>
|
||||||
<size>10</size>
|
<size>10</size>
|
||||||
<!-- font size in points -->
|
|
||||||
<weight>Normal</weight>
|
<weight>Normal</weight>
|
||||||
<!-- 'bold' or 'normal' -->
|
|
||||||
<slant>Normal</slant>
|
<slant>Normal</slant>
|
||||||
<!-- 'italic' or 'normal' -->
|
|
||||||
</font>
|
</font>
|
||||||
<font place="ActiveOnScreenDisplay">
|
<font place="ActiveOnScreenDisplay">
|
||||||
<name>Roboto</name>
|
<name>Roboto</name>
|
||||||
<size>10</size>
|
<size>10</size>
|
||||||
<!-- font size in points -->
|
|
||||||
<weight>Normal</weight>
|
<weight>Normal</weight>
|
||||||
<!-- 'bold' or 'normal' -->
|
|
||||||
<slant>Normal</slant>
|
<slant>Normal</slant>
|
||||||
<!-- 'italic' or 'normal' -->
|
|
||||||
</font>
|
</font>
|
||||||
<font place="InactiveOnScreenDisplay">
|
<font place="InactiveOnScreenDisplay">
|
||||||
<name>Roboto</name>
|
<name>Roboto</name>
|
||||||
<size>10</size>
|
<size>10</size>
|
||||||
<!-- font size in points -->
|
|
||||||
<weight>Normal</weight>
|
<weight>Normal</weight>
|
||||||
<!-- 'bold' or 'normal' -->
|
|
||||||
<slant>Normal</slant>
|
<slant>Normal</slant>
|
||||||
<!-- 'italic' or 'normal' -->
|
|
||||||
</font>
|
</font>
|
||||||
</theme>
|
</theme>
|
||||||
<desktops>
|
<desktops>
|
||||||
<!-- this stuff is only used at startup, pagers allow you to change them
|
|
||||||
during a session
|
|
||||||
these are default values to use when other ones are not already set
|
|
||||||
by other applications, or saved in your session
|
|
||||||
use obconf if you want to change these without having to log out
|
|
||||||
and back in -->
|
|
||||||
<number>4</number>
|
<number>4</number>
|
||||||
<firstdesk>0</firstdesk>
|
<firstdesk>0</firstdesk>
|
||||||
<names>
|
<names>
|
||||||
@ -124,29 +69,16 @@
|
|||||||
<name>4</name>
|
<name>4</name>
|
||||||
</names>
|
</names>
|
||||||
<popupTime>800</popupTime>
|
<popupTime>800</popupTime>
|
||||||
<!-- The number of milliseconds to show the popup for when switching
|
|
||||||
desktops. Set this to 0 to disable the popup. -->
|
|
||||||
</desktops>
|
</desktops>
|
||||||
<resize>
|
<resize>
|
||||||
<drawContents>yes</drawContents>
|
<drawContents>yes</drawContents>
|
||||||
<popupShow>Never</popupShow>
|
<popupShow>Never</popupShow>
|
||||||
<!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
|
|
||||||
<popupPosition>Center</popupPosition>
|
<popupPosition>Center</popupPosition>
|
||||||
<!-- 'Center' or 'Top' -->
|
|
||||||
<popupFixedPosition>
|
<popupFixedPosition>
|
||||||
<!-- these are used if popupPosition is set to 'Fixed' -->
|
|
||||||
<x>10</x>
|
<x>10</x>
|
||||||
<!-- positive number for distance from left edge, negative number for
|
|
||||||
distance from right edge, or 'Center' -->
|
|
||||||
<y>10</y>
|
<y>10</y>
|
||||||
<!-- positive number for distance from top edge, negative number for
|
|
||||||
distance from bottom edge, or 'Center' -->
|
|
||||||
</popupFixedPosition>
|
</popupFixedPosition>
|
||||||
</resize>
|
</resize>
|
||||||
<!-- You can reserve a portion of your screen where windows will not cover when
|
|
||||||
they are maximized, or when they are initially placed.
|
|
||||||
Many programs reserve space automatically, but you can use this in other
|
|
||||||
cases. -->
|
|
||||||
<margins>
|
<margins>
|
||||||
<top>0</top>
|
<top>0</top>
|
||||||
<bottom>0</bottom>
|
<bottom>0</bottom>
|
||||||
@ -155,25 +87,18 @@
|
|||||||
</margins>
|
</margins>
|
||||||
<dock>
|
<dock>
|
||||||
<position>Floating</position>
|
<position>Floating</position>
|
||||||
<!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
|
|
||||||
<floatingX>0</floatingX>
|
<floatingX>0</floatingX>
|
||||||
<floatingY>0</floatingY>
|
<floatingY>0</floatingY>
|
||||||
<noStrut>no</noStrut>
|
<noStrut>no</noStrut>
|
||||||
<stacking>Above</stacking>
|
<stacking>Above</stacking>
|
||||||
<!-- 'Above', 'Normal', or 'Below' -->
|
|
||||||
<direction>Vertical</direction>
|
<direction>Vertical</direction>
|
||||||
<!-- 'Vertical' or 'Horizontal' -->
|
|
||||||
<autoHide>no</autoHide>
|
<autoHide>no</autoHide>
|
||||||
<hideDelay>300</hideDelay>
|
<hideDelay>300</hideDelay>
|
||||||
<!-- in milliseconds (1000 = 1 second) -->
|
|
||||||
<showDelay>300</showDelay>
|
<showDelay>300</showDelay>
|
||||||
<!-- in milliseconds (1000 = 1 second) -->
|
|
||||||
<moveButton>Middle</moveButton>
|
<moveButton>Middle</moveButton>
|
||||||
<!-- 'Left', 'Middle', 'Right' -->
|
|
||||||
</dock>
|
</dock>
|
||||||
<keyboard>
|
<keyboard>
|
||||||
<chainQuitKey/>
|
<chainQuitKey/>
|
||||||
<!-- Window & Desktop Control -->
|
|
||||||
<keybind key="W-1">
|
<keybind key="W-1">
|
||||||
<action name="GoToDesktop">
|
<action name="GoToDesktop">
|
||||||
<to>1</to>
|
<to>1</to>
|
||||||
@ -261,7 +186,6 @@
|
|||||||
<action name="FocusToBottom"/>
|
<action name="FocusToBottom"/>
|
||||||
<action name="Unfocus"/>
|
<action name="Unfocus"/>
|
||||||
</keybind>
|
</keybind>
|
||||||
<!-- Media & Backlight -->
|
|
||||||
<keybind key="XF86AudioRaiseVolume">
|
<keybind key="XF86AudioRaiseVolume">
|
||||||
<action name="Execute">
|
<action name="Execute">
|
||||||
<command>pamixer -i 2</command>
|
<command>pamixer -i 2</command>
|
||||||
@ -307,7 +231,6 @@
|
|||||||
<command>xbacklight -10</command>
|
<command>xbacklight -10</command>
|
||||||
</action>
|
</action>
|
||||||
</keybind>
|
</keybind>
|
||||||
<!-- Applications -->
|
|
||||||
<keybind key="Print">
|
<keybind key="Print">
|
||||||
<action name="Execute">
|
<action name="Execute">
|
||||||
<command>scrot 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'</command>
|
<command>scrot 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'</command>
|
||||||
@ -353,7 +276,6 @@
|
|||||||
<command>pavucontrol</command>
|
<command>pavucontrol</command>
|
||||||
</action>
|
</action>
|
||||||
</keybind>
|
</keybind>
|
||||||
<!-- Launchers -->
|
|
||||||
<keybind key="W-s">
|
<keybind key="W-s">
|
||||||
<action name="Execute">
|
<action name="Execute">
|
||||||
<command>skippy-xd</command>
|
<command>skippy-xd</command>
|
||||||
@ -361,23 +283,22 @@
|
|||||||
</keybind>
|
</keybind>
|
||||||
<keybind key="A-F1">
|
<keybind key="A-F1">
|
||||||
<action name="Execute">
|
<action name="Execute">
|
||||||
<command>rofi-gorice</command>
|
<command>rofr.sh -r</command>
|
||||||
</action>
|
</action>
|
||||||
</keybind>
|
</keybind>
|
||||||
<keybind key="C-space">
|
<keybind key="C-space">
|
||||||
<action name="Execute">
|
<action name="Execute">
|
||||||
<command>rofi-gorice</command>
|
<command>rofr.sh -r</command>
|
||||||
</action>
|
</action>
|
||||||
</keybind>
|
</keybind>
|
||||||
<!-- Logout & Reload -->
|
|
||||||
<keybind key="W-x">
|
<keybind key="W-x">
|
||||||
<action name="Execute">
|
<action name="Execute">
|
||||||
<command>rofi-logout</command>
|
<command>rofr.sh -l</command>
|
||||||
</action>
|
</action>
|
||||||
</keybind>
|
</keybind>
|
||||||
<keybind key="C-A-Delete">
|
<keybind key="C-A-Delete">
|
||||||
<action name="Execute">
|
<action name="Execute">
|
||||||
<command>rofi-logout</command>
|
<command>rofr.sh -l</command>
|
||||||
</action>
|
</action>
|
||||||
</keybind>
|
</keybind>
|
||||||
<keybind key="W-S-Escape">
|
<keybind key="W-S-Escape">
|
||||||
@ -389,7 +310,6 @@
|
|||||||
<keybind key="C-S-Enter">
|
<keybind key="C-S-Enter">
|
||||||
<action name="Reconfigure"/>
|
<action name="Reconfigure"/>
|
||||||
</keybind>
|
</keybind>
|
||||||
<!-- Window Control -->
|
|
||||||
<keybind key="W-Escape">
|
<keybind key="W-Escape">
|
||||||
<action name="Execute">
|
<action name="Execute">
|
||||||
<command>xkill</command>
|
<command>xkill</command>
|
||||||
@ -432,7 +352,6 @@
|
|||||||
<menu>client-menu</menu>
|
<menu>client-menu</menu>
|
||||||
</action>
|
</action>
|
||||||
</keybind>
|
</keybind>
|
||||||
<!-- Tiling Bindings -->
|
|
||||||
<keybind key="W-KP_1">
|
<keybind key="W-KP_1">
|
||||||
<action name="UnmaximizeFull"/>
|
<action name="UnmaximizeFull"/>
|
||||||
<action name="MoveResizeTo">
|
<action name="MoveResizeTo">
|
||||||
@ -556,16 +475,9 @@
|
|||||||
</keyboard>
|
</keyboard>
|
||||||
<mouse>
|
<mouse>
|
||||||
<dragThreshold>4</dragThreshold>
|
<dragThreshold>4</dragThreshold>
|
||||||
<!-- number of pixels the mouse must move before a drag begins -->
|
|
||||||
<doubleClickTime>400</doubleClickTime>
|
<doubleClickTime>400</doubleClickTime>
|
||||||
<!-- in milliseconds (1000 = 1 second) -->
|
|
||||||
<screenEdgeWarpTime>600</screenEdgeWarpTime>
|
<screenEdgeWarpTime>600</screenEdgeWarpTime>
|
||||||
<!-- Time before changing desktops when the pointer touches the edge of the
|
|
||||||
screen while moving a window, in milliseconds (1000 = 1 second).
|
|
||||||
Set this to 0 to disable warping -->
|
|
||||||
<screenEdgeWarpMouse>false</screenEdgeWarpMouse>
|
<screenEdgeWarpMouse>false</screenEdgeWarpMouse>
|
||||||
<!-- Set this to TRUE to move the mouse pointer across the desktop when
|
|
||||||
switching due to hitting the edge of the screen -->
|
|
||||||
<context name="Frame">
|
<context name="Frame">
|
||||||
<mousebind action="Press" button="A-Left">
|
<mousebind action="Press" button="A-Left">
|
||||||
<action name="Focus"/>
|
<action name="Focus"/>
|
||||||
@ -795,7 +707,6 @@
|
|||||||
</mousebind>
|
</mousebind>
|
||||||
</context>
|
</context>
|
||||||
<context name="Root">
|
<context name="Root">
|
||||||
<!-- Menus -->
|
|
||||||
<mousebind action="Press" button="Middle">
|
<mousebind action="Press" button="Middle">
|
||||||
<action name="ShowMenu">
|
<action name="ShowMenu">
|
||||||
<menu>client-list-combined-menu</menu>
|
<menu>client-list-combined-menu</menu>
|
||||||
@ -814,32 +725,13 @@
|
|||||||
</context>
|
</context>
|
||||||
</mouse>
|
</mouse>
|
||||||
<menu>
|
<menu>
|
||||||
<!-- You can specify more than one menu file in here and they are all loaded,
|
|
||||||
just don't make menu ids clash or, well, it'll be kind of pointless -->
|
|
||||||
<!-- default menu file (or custom one in $HOME/.config/openbox/) -->
|
|
||||||
<!-- system menu files on Debian systems
|
|
||||||
<file>/var/lib/openbox/debian-menu.xml</file>
|
|
||||||
<file>debian-menu.xml</file> -->
|
|
||||||
<file>menu.xml</file>
|
<file>menu.xml</file>
|
||||||
<hideDelay>400</hideDelay>
|
<hideDelay>400</hideDelay>
|
||||||
<!-- if a press-release lasts longer than this setting (in milliseconds), the
|
|
||||||
menu is hidden again -->
|
|
||||||
<middle>no</middle>
|
<middle>no</middle>
|
||||||
<!-- center submenus vertically about the parent entry -->
|
|
||||||
<submenuShowDelay>100</submenuShowDelay>
|
<submenuShowDelay>100</submenuShowDelay>
|
||||||
<!-- time to delay before showing a submenu after hovering over the parent
|
|
||||||
entry.
|
|
||||||
if this is a negative value, then the delay is infinite and the
|
|
||||||
submenu will not be shown until it is clicked on -->
|
|
||||||
<submenuHideDelay>200</submenuHideDelay>
|
<submenuHideDelay>200</submenuHideDelay>
|
||||||
<!-- time to delay before hiding a submenu when selecting another
|
|
||||||
entry in parent menu
|
|
||||||
if this is a negative value, then the delay is infinite and the
|
|
||||||
submenu will not be hidden until a different submenu is opened -->
|
|
||||||
<applicationIcons>no</applicationIcons>
|
<applicationIcons>no</applicationIcons>
|
||||||
<!-- controls if icons appear in the client-list-(combined-)menu -->
|
|
||||||
<manageDesktops>yes</manageDesktops>
|
<manageDesktops>yes</manageDesktops>
|
||||||
<!-- show the manage desktops section in the client-list-(combined-)menu -->
|
|
||||||
</menu>
|
</menu>
|
||||||
<applications>
|
<applications>
|
||||||
<application name="oblogout">
|
<application name="oblogout">
|
||||||
@ -848,128 +740,5 @@
|
|||||||
</position>
|
</position>
|
||||||
<fullscreen>yes</fullscreen>
|
<fullscreen>yes</fullscreen>
|
||||||
</application>
|
</application>
|
||||||
<!-- Set applications to open on a specific desktop
|
|
||||||
<application class="obconf">
|
|
||||||
<focus>yes</focus>
|
|
||||||
<position force="no">
|
|
||||||
<x>center</x>
|
|
||||||
<y>center</y>
|
|
||||||
</position>
|
|
||||||
</application>
|
|
||||||
<application class="tint2conf">
|
|
||||||
<focus>yes</focus>
|
|
||||||
<position force="no">
|
|
||||||
<x>center</x>
|
|
||||||
<y>center</y>
|
|
||||||
</position>
|
|
||||||
</application>
|
|
||||||
<application class="nitrogen">
|
|
||||||
<focus>yes</focus>
|
|
||||||
<position force="no">
|
|
||||||
<x>center</x>
|
|
||||||
<y>center</y>
|
|
||||||
</position>
|
|
||||||
</application>
|
|
||||||
<application class="lollypop">
|
|
||||||
<desktop>1</desktop>
|
|
||||||
<focus>yes</focus>
|
|
||||||
</application>
|
|
||||||
<application class="spotify">
|
|
||||||
<desktop>1</desktop>
|
|
||||||
<focus>yes</focus>
|
|
||||||
</application>
|
|
||||||
<application class="rhythmbox">
|
|
||||||
<desktop>1</desktop>
|
|
||||||
<focus>yes</focus>
|
|
||||||
</application>
|
|
||||||
<application class="vlc*">
|
|
||||||
<desktop>1</desktop>
|
|
||||||
<focus>yes</focus>
|
|
||||||
</application>
|
|
||||||
<application class="mpv*">
|
|
||||||
<desktop>1</desktop>
|
|
||||||
<focus>yes</focus>
|
|
||||||
</application>
|
|
||||||
<application class="audacious">
|
|
||||||
<desktop>1</desktop>
|
|
||||||
<focus>yes</focus>
|
|
||||||
</application>
|
|
||||||
<application class="chromium">
|
|
||||||
<desktop>2</desktop>
|
|
||||||
<focus>yes</focus>
|
|
||||||
</application>
|
|
||||||
<application class="google-chrome">
|
|
||||||
<desktop>2</desktop>
|
|
||||||
<focus>yes</focus>
|
|
||||||
</application>
|
|
||||||
<application class="opera">
|
|
||||||
<desktop>2</desktop>
|
|
||||||
<focus>yes</focus>
|
|
||||||
</application>
|
|
||||||
<application class="Firefox">
|
|
||||||
<desktop>2</desktop>
|
|
||||||
<focus>yes</focus>
|
|
||||||
</application>
|
|
||||||
<application class="Navigator">
|
|
||||||
<desktop>2</desktop>
|
|
||||||
<focus>yes</focus>
|
|
||||||
</application>
|
|
||||||
<application class="pcmanfm">
|
|
||||||
<desktop>3</desktop>
|
|
||||||
<focus>yes</focus>
|
|
||||||
</application>
|
|
||||||
<application class="dolphin*">
|
|
||||||
<desktop>3</desktop>
|
|
||||||
<focus>yes</focus>
|
|
||||||
</application>
|
|
||||||
<application class="nautilus">
|
|
||||||
<desktop>3</desktop>
|
|
||||||
<focus>yes</focus>
|
|
||||||
</application>
|
|
||||||
<application class="Thunar">
|
|
||||||
<desktop>3</desktop>
|
|
||||||
<focus>yes</focus>
|
|
||||||
</application>
|
|
||||||
<application class="gimp*">
|
|
||||||
<desktop>4</desktop>
|
|
||||||
<focus>yes</focus>
|
|
||||||
</application>
|
|
||||||
<application class="inkscape">
|
|
||||||
<desktop>4</desktop>
|
|
||||||
<focus>yes</focus>
|
|
||||||
</application>
|
|
||||||
<application class="pinta">
|
|
||||||
<desktop>4</desktop>
|
|
||||||
<focus>yes</focus>
|
|
||||||
</application>
|
|
||||||
<application class="gpick">
|
|
||||||
<desktop>4</desktop>
|
|
||||||
<focus>yes</focus>
|
|
||||||
</application>
|
|
||||||
<application class="gcolor2">
|
|
||||||
<desktop>4</desktop>
|
|
||||||
<focus>yes</focus>
|
|
||||||
</application>
|
|
||||||
<application class="mousepad">
|
|
||||||
<desktop>5</desktop>
|
|
||||||
<focus>yes</focus>
|
|
||||||
</application>
|
|
||||||
<application class="Geany">
|
|
||||||
<desktop>5</desktop>
|
|
||||||
<focus>yes</focus>
|
|
||||||
</application>
|
|
||||||
<application class="subl3">
|
|
||||||
<desktop>5</desktop>
|
|
||||||
<focus>yes</focus>
|
|
||||||
</application>
|
|
||||||
<application class="atom">
|
|
||||||
<desktop>5</desktop>
|
|
||||||
<focus>yes</focus>
|
|
||||||
</application>
|
|
||||||
<application class="mousepad">
|
|
||||||
<desktop>5</desktop>
|
|
||||||
<focus>yes</focus>
|
|
||||||
</application>
|
|
||||||
-->
|
|
||||||
</applications>
|
</applications>
|
||||||
</openbox_config>
|
</openbox_config>
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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 &
|
|
@ -15,21 +15,6 @@ 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:]'
|
|
||||||
|
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; Openbox Workspaces ;;
|
;; Openbox Workspaces ;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
@ -95,7 +80,6 @@ label-visible-underline = ${colors.trim}
|
|||||||
label-urgent-underline = ${colors.urgent}
|
label-urgent-underline = ${colors.urgent}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;
|
||||||
;;Bspwm Workspaces;;
|
;;Bspwm Workspaces;;
|
||||||
;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;
|
||||||
@ -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,7 +138,6 @@ label-locked-foreground = ${colors.yellow}
|
|||||||
label-private-foreground = ${colors.urgent}
|
label-private-foreground = ${colors.urgent}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;;;;;;;;;;;;;
|
;;;;;;;;;;;;;
|
||||||
;; Network ;;
|
;; Network ;;
|
||||||
;;;;;;;;;;;;;
|
;;;;;;;;;;;;;
|
||||||
@ -221,7 +202,7 @@ label = %{A1:termite --exec=htop & disown:} %percentage_used%%%{A}
|
|||||||
;;;;;;;;;
|
;;;;;;;;;
|
||||||
[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
|
||||||
@ -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
|
||||||
@ -376,8 +357,8 @@ menu-3-3-exec = systemctl poweroff
|
|||||||
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>
|
||||||
|
|
||||||
|
|
||||||
@ -411,9 +392,9 @@ format-connected-foreground = ${colors.purple}
|
|||||||
[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 &
|
||||||
|
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;
|
||||||
|
@ -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