diff --git a/home/.Xresources b/home/.Xresources
index 4c69031e..dfa188a4 100644
--- a/home/.Xresources
+++ b/home/.Xresources
@@ -22,7 +22,7 @@
*.color15: #F6F6F6
! Rofi
-rofi.font: Ubuntu Mono 12
+rofi.font: DejaVu Sans Mono 12
rofi.padding: 20
rofi.line-padding: 2
rofi.color-enabled: true
@@ -32,8 +32,8 @@ rofi.color-window: #EFF1F5, #2b303b, #EFF1F5
rofi.color-normal: #EFF1F5, #2b303b, #EFF1F5, #8fa1b3, #2b303b
! xterm
-xterm*font: Ubuntu Mono
-xterm*faceName: Ubuntu Mono:size=11:antialias=false
+xterm*font: DejaVu Sana Mono
+xterm*faceName: DejaVu Sana Mono:size=10:antialias=false
xterm*loginShell: true
xterm*vt100*geometry: 90x34
xterm*saveLines: 2000
@@ -46,13 +46,13 @@ URxvt*saveline: 15000
URxvt*termName: rxvt-256color
URxvt*iso14755: false
URxvt*depth: 32
-URxvt*background: [90]#2b303b
+URxvt*background: [95]#2b303b
URxvt*scrollBar: false
URxvt*scrollBar_right: false
URxvt*internalBorder: 0
URxvt*externalBorder: 0
URxvt*letterSpace: -1
-URxvt.font: xft:Ubuntu Mono:size=11
+URxvt.font: xft:DejaVu Sana Mono:size=10
URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select
URxvt.copyCommand: xclip -i -selection clipboard
URxvt.pasteCommand: xclip -o -selection clipboard
@@ -72,8 +72,8 @@ URxvt*buffered: false
UXTerm*termName: xterm-256color
UXTerm*cursorColor: white
UXTerm*VT100.geometry: 90x30
-UXTerm*font: Ubuntu Mono
-UXTerm*faceSize: 12
+UXTerm*font: DejaVu Sana Mono
+UXTerm*faceSize: 10
UXTerm*dynamicColors: true
UXTerm*utf8: 2
UXTerm*eightBitInput: true
diff --git a/home/.config/awesome/rc.lua b/home/.config/awesome/rc.lua
index 109cc830..6c8d1b67 100644
--- a/home/.config/awesome/rc.lua
+++ b/home/.config/awesome/rc.lua
@@ -37,12 +37,11 @@ do
local in_error = false
awesome.connect_signal("debug::error", function (err)
-- Make sure we don't go into an endless error loop
- if in_error then return end
+ if in_error then
+ return
+ end
in_error = true
-
- naughty.notify({ preset = naughty.config.presets.critical,
- title = "Oops, an error happened!",
- text = err })
+ naughty.notify({ preset = naughty.config.presets.critical, title = "Oops, an error happened!", text = err })
in_error = false
end)
end
@@ -181,8 +180,8 @@ menu_items = freedesktop.menu.new()
myawesomemenu = {
{ "manual", terminal .. " -e man awesome", freedesktop.utils.lookup_icon({ icon = 'help' }) },
{ "restart", awesome.restart, freedesktop.utils.lookup_icon({ icon = 'system-shutdown' }) },
+ { "quit", awesome.quit, freedesktop.utils.lookup_icon({ icon = 'system-shutdown' }) }
}
--- { "quit", awesome.quit, freedesktop.utils.lookup_icon({ icon = 'system-shutdown' }) }
table.insert(menu_items, { "Awesome", myawesomemenu, beautiful.awesome_icon })
table.insert(menu_items, { "Wallpaper", wallmenu, freedesktop.utils.lookup_icon({ icon = 'gnome-settings-background' })})
diff --git a/home/.config/bspwm/bspwmrc b/home/.config/bspwm/bspwmrc
index 0d29fcbe..47efcf73 100755
--- a/home/.config/bspwm/bspwmrc
+++ b/home/.config/bspwm/bspwmrc
@@ -12,6 +12,17 @@ al-compositor --start &
# panel
sleep 1; al-polybar-session &
+# polkit, required for authentication
+/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
+
+# keyring for storing saved passwords
+gnome-keyring-daemon --start --components=pkcs11 &
+
+# pressing super key alone simulates pressing Alt-F1
+ksuperkey -e 'Super_L=Alt_L|F1' &
+ksuperkey -e 'Super_R=Alt_L|F1' &
+
+
# Set some bsp specific stuff
bspc monitor -d I II III IV V VI VII VIII IX X
diff --git a/home/.config/dunst/dunstrc b/home/.config/dunst/dunstrc
index 1a5a6077..acc5e7b0 100644
--- a/home/.config/dunst/dunstrc
+++ b/home/.config/dunst/dunstrc
@@ -1,5 +1,5 @@
[global]
-font = Ubuntu 11
+font = DejaVu Sans Mono 11
markup = yes
format = "%s\n%b"
sort = yes
@@ -26,7 +26,7 @@ frame_color = "#c0c5ce"
separator_color = frame
frame_width = 1
startup_notification = false
-dmenu = /usr/bin/dmenu -p dunst:
+dmenu = /usr/bin/rofi -dmenu -p dunst:
browser = /usr/bin/firefox
icon_position = left
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
diff --git a/home/.config/i3/config b/home/.config/i3/config
index 5f714863..ee726254 100644
--- a/home/.config/i3/config
+++ b/home/.config/i3/config
@@ -69,6 +69,16 @@ exec_always --no-startup-id xrdb -load ~/.Xresources
exec --no-startup-id xfsettingsd
exec --no-startup-id al-compositor --start
+# polkit, required for authentication
+exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
+
+# keyring for storing saved passwords
+exec --no-startup-id gnome-keyring-daemon --start --components=pkcs11
+
+# pressing super key alone simulates pressing Alt-F1
+exec --no-startup-id ksuperkey -e 'Super_L=Alt_L|F1' &
+exec --no-startup-id ksuperkey -e 'Super_R=Alt_L|F1' &
+
###########################################################
############# Bindings ##################
###########################################################
@@ -256,6 +266,3 @@ assign [class="(?i)(?:thunar)"] → $WS3
# focus, floating, & sticky
for_window [title="(?i)(?:copying|deleting|moving)"] floating enable
for_window [window_role="(?i)(?:pop-up|setup)"] floating enable
-
-# set trayer to be borderless
-for_window [class="(?i)trayer"] border pixel 0
diff --git a/home/.config/keypack b/home/.config/keypack
index 95dad033..aab1717a 100755
--- a/home/.config/keypack
+++ b/home/.config/keypack
@@ -10,7 +10,7 @@ keys=(
"35F52A02854DCCAEC9DD5CC410443C7F54B00041"
)
-setup() {
+setup_keyring() {
sudo dirmngr /dev/null; do
+while ! ping -c 1 www.github.com &>/dev/null; do
sleep 1
done
-setup
+setup_keyring &
+
sed -i '/keypack/d' "$HOME/.config/openbox/autostart"
rm -f "$HOME/.config/keypack"
diff --git a/home/.config/networkmanager-dmenu/config.ini b/home/.config/networkmanager-dmenu/config.ini
index 347e8ac0..9ee9969e 100644
--- a/home/.config/networkmanager-dmenu/config.ini
+++ b/home/.config/networkmanager-dmenu/config.ini
@@ -1,5 +1,5 @@
[dmenu]
-dmenu_command = rofi -location 3 -yoffset 35 -xoffset -10 -width 37 -font "Ubuntu 10" -padding 20 -line-padding 4 -hide-scrollbar -password
+dmenu_command = rofi -location 3 -yoffset 35 -xoffset -10 -width 37 -font "DejaVu Sans Mono 10" -padding 20 -line-padding 4 -hide-scrollbar -password
[editor]
terminal = termite
diff --git a/home/.config/openbox/autostart b/home/.config/openbox/autostart
index b4915df9..b4d729cc 100644
--- a/home/.config/openbox/autostart
+++ b/home/.config/openbox/autostart
@@ -5,6 +5,16 @@ al-compositor --start &
# enable numlock, commented out for laptop users
# numlockx &
+# polkit, required for authentication
+/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
+
+# keyring for storing saved passwords
+gnome-keyring-daemon --start --components=pkcs11 &
+
+# pressing super key alone simulates pressing Alt-F1
+ksuperkey -e 'Super_L=Alt_L|F1' &
+ksuperkey -e 'Super_R=Alt_L|F1' &
+
# restore wallpaper
nitrogen --restore &
diff --git a/home/.config/polybar/modules.conf b/home/.config/polybar/modules.conf
index 4db18754..147e014c 100644
--- a/home/.config/polybar/modules.conf
+++ b/home/.config/polybar/modules.conf
@@ -171,7 +171,7 @@ type = internal/cpu
interval = 3
format-padding = 1
format =