aboutsummaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rwxr-xr-x.config/herbstluftwm/autostart8
-rwxr-xr-x.config/herbstluftwm/config_vars45
-rwxr-xr-x.config/herbstluftwm/panel.sh2
-rw-r--r--.config/nitrogen/bg-saved.cfg2
-rw-r--r--.config/nitrogen/nitrogen.cfg2
-rw-r--r--.config/ranger/rifle.conf28
6 files changed, 49 insertions, 38 deletions
diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart
index 787b821..677c2b3 100755
--- a/.config/herbstluftwm/autostart
+++ b/.config/herbstluftwm/autostart
@@ -174,7 +174,7 @@ hc rule focus=on
hc rule windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK)' manage=off
# set apppropriate things to pseudotile
hc rule windowtype~'_NET_WM_WINDOW_TYPE_(DIALOG|UTILITY|SPLASH)' pseudotile=on focus=on
-hc rule class~'(freeciv-sdl|milkytracker|FTL|Tegaki-recognize|Pcsx2|Tilem2|Wine)' pseudotile=on focus=on
+hc rule class~'(SleepIsDeathApp|freeciv-sdl|milkytracker|FTL|Tegaki-recognize|PlayOnLinux|Pcsx2|Tilem2|Wine)' pseudotile=on focus=on
# unlock, just to be sure
hc unlock
@@ -194,12 +194,6 @@ for monitor in $(herbstclient list_monitors | cut -d: -f1) ; do
"$panel" $monitor &
done
-# add a tray
-tray=~/.config/herbstluftwm/tray.sh
-if [ -x "$tray" ]; then
- "$tray" &
-fi
-
# run dunst with theme colours
dunst -lb $bg_normal -nb $bg_normal -cb $bg_focus \
-lf $fg_normal -nf $fg_normal -cf $fg_focus \
diff --git a/.config/herbstluftwm/config_vars b/.config/herbstluftwm/config_vars
index 409d586..6f9c4d3 100755
--- a/.config/herbstluftwm/config_vars
+++ b/.config/herbstluftwm/config_vars
@@ -1,6 +1,9 @@
#!/bin/bash
-## arch blue
+###############
+# Arch Blue #
+###############
+#
#bg_normal='#333333'
#fg_normal='#efefef'
#bg_focus='#00aad4'
@@ -14,19 +17,39 @@
#fg_yellow='#ffa466'
#fg_blue='#00aad4'
-## section 9
-bg_normal='#333333'
-fg_normal='#efefef'
-bg_focus='#714BA7'
-fg_focus='#efefef'
+###############
+# Section 9 #
+###############
+#
+#bg_normal='#333333'
+#fg_normal='#efefef'
+#bg_focus='#714BA7'
+#fg_focus='#efefef'
+#bg_urgent='#ff4070'
+#fg_urgent='#efefef'
+#
+#fg_grey='#ababab'
+#fg_red='#ff6699'
+#fg_green='#d5f85f'
+#fg_yellow='#ffa466'
+#fg_blue='#00aad4'
+
+###############
+# Lain Blind #
+###############
+
+bg_normal='#262626'
+fg_normal='#c1b48e'
+bg_focus='#d0758b'
+fg_focus='#262626'
bg_urgent='#ff4070'
fg_urgent='#efefef'
-fg_grey='#ababab'
-fg_red='#ff6699'
-fg_green='#d5f85f'
-fg_yellow='#ffa466'
-fg_blue='#00aad4'
+fg_grey='#808080'
+fg_red='#d0758b'
+fg_green='#d0758b'
+fg_yellow='#d0758b'
+fg_blue='#d0758b'
bheight=18
diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh
index b3ff75b..8852924 100755
--- a/.config/herbstluftwm/panel.sh
+++ b/.config/herbstluftwm/panel.sh
@@ -119,7 +119,7 @@ fields[6]=""
# date
fields[7]=""
# vertical separator and gap for tray
-fields[8]="%{F${bg_focus}}| %{F${fg_normal}}"
+#fields[8]="%{F${bg_focus}}| %{F${fg_normal}}"
######################
diff --git a/.config/nitrogen/bg-saved.cfg b/.config/nitrogen/bg-saved.cfg
index 396d362..025fc89 100644
--- a/.config/nitrogen/bg-saved.cfg
+++ b/.config/nitrogen/bg-saved.cfg
@@ -1,4 +1,4 @@
[:0.0]
-file=/home/shmibs/backdrops/shadowed/gits-city.jpg
+file=/home/shmibs/backdrops/shadowed/lain-bed.png
mode=5
bgcolor=#000000
diff --git a/.config/nitrogen/nitrogen.cfg b/.config/nitrogen/nitrogen.cfg
index 48d69f4..9a87a10 100644
--- a/.config/nitrogen/nitrogen.cfg
+++ b/.config/nitrogen/nitrogen.cfg
@@ -7,4 +7,4 @@ sizey=1062
[nitrogen]
view=icon
icon_caps=false
-dirs=/home/shmibs/backdrops/shadowed;
+dirs=/home/shmibs/backdrops;
diff --git a/.config/ranger/rifle.conf b/.config/ranger/rifle.conf
index ee189c7..c1291d9 100644
--- a/.config/ranger/rifle.conf
+++ b/.config/ranger/rifle.conf
@@ -74,11 +74,14 @@ ext x?html?, has w3m, terminal = w3m "$@"
#-------------------------------------------
# Define the "editor" for text files as first action
mime ^text, label editor = "$EDITOR" -- "$@"
-!mime ^text, label editor, ext xml|csv|tex|py|pl|rb|sh|php = "$EDITOR" -- "$@"
+mime ^text, has urxvt, X, flag f = "urxvt" "-e" "$EDITOR" "$@"
+!mime ^text, ext xml|csv|tex|py|pl|rb|sh|php = "$EDITOR" -- "$@"
+!mime ^text, ext xml|csv|tex|py|pl|rb|sh|php, has urxvt, X, flag f = "urxvt" "-e" "$EDITOR" "$@"
ext 1 = man "$1"
ext exe = wine "$1"
name ^[mM]akefile$ = make
+name ^[mM]akefile$ = make clean
#--------------------------------------------
# Code
@@ -110,8 +113,7 @@ mime ^video, terminal, !X, has mplayer = mplayer -- "$@"
#-------------------------------------------
# Image Viewing:
#-------------------------------------------
-mime ^image, has sxiv, X, flag f = sxiv -- "$@"
-mime ^image, has feh, X, flag f = feh -- "$@"
+mime ^image, has sxiv, X, flag f = sxiv -a "$@"
mime ^image, has gimp, X, flag f = gimp -- "$@"
ext xcf, X, flag f = gimp -- "$@"
@@ -132,15 +134,15 @@ ext od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric|rtf, has libreoffice, X, fla
# Archives
#-------------------------------------------
# This requires atool
-ext cbr|cbz, has comix, X, flag f = comix -- "$@"
-ext iso, has udevil = udevil mount -- "$@"
-ext iso, has udevil = udevil mount -- "$@"
+ext cbr|cbz, has mcomix, X, flag f = mcomix -- "$@"
+ext iso, has udevil = udevil mount "$@"
+ext iso, has udevil = udevil mount "$@"
ext 7z|ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has als = als -- "$@" | "$PAGER"
ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has als = als -- "$@" | "$PAGER"
ext 7z|ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has aunpack = aunpack -- "$@"
ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has aunpack = aunpack -- "$@"
-ext 7z|ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has comix, X, flag f = comix -- "$@"
-ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has comix, X, flag f = comix -- "$@"
+ext 7z|ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has mcomix, X, flag f = mcomix -- "$@"
+ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has mcomix, X, flag f = mcomix -- "$@"
# Fallback:
ext tar|gz, has tar = tar vvtf "$@" | "$PAGER"
@@ -159,14 +161,6 @@ ext 8xp|8xk|8xv|8xu, has tilp = tilp --no-gui "$@"
ext s[wmf]c, has snes9x-gtk, X flag f = snes9x-gtk "$1"
ext nes|gb|gb[ca], has mednafen, X, flag f = mednafen "$1"
-#-------------------------------------------
-# Misc
-#-------------------------------------------
-label wallpaper, number 11, mime ^image, X = feh --bg-scale "$1"
-label wallpaper, number 12, mime ^image, X = feh --bg-tile "$1"
-label wallpaper, number 13, mime ^image, X = feh --bg-center "$1"
-label wallpaper, number 14, mime ^image, X = feh --bg-fill "$1"
-
# Define the editor for non-text files as last action
- !mime ^text, !ext xml|csv|tex|py|pl|rb|sh|php = ask
label editor, !mime ^text, !ext xml|csv|tex|py|pl|rb|sh|php = "$EDITOR" -- "$@"
+label editor, !mime ^text, !ext xml|csv|tex|py|pl|rb|sh|php, has urxvt, X, flag f = "urxvt" "-e" "$EDITOR" "$@"