Starting my herbstluft journey.

This commit is contained in:
Derek Taylor
2019-03-16 12:25:29 -05:00
parent 56c43883fe
commit 56c05fa166
11 changed files with 84 additions and 51 deletions
+2 -2
View File
@@ -14,8 +14,8 @@ Xft.hintstyle: hintfull
Xft.lcdfilter: lcdfilter Xft.lcdfilter: lcdfilter
XTerm*renderFont: true XTerm*renderFont: true
XTerm*faceName: xft:UbuntuMono Nerd Font XTerm*faceName: xft:Mononoki Nerd Font
XTerm*faceSize: 13 XTerm*faceSize: 12
XTerm*utf8: 2 XTerm*utf8: 2
XTerm*locale: true XTerm*locale: true
+1 -1
View File
@@ -5,7 +5,7 @@
# |____/ |_| # |____/ |_|
EDITOR=vim EDITOR=vim
export TERM="xterm-256color" export TERM="st-256color"
[[ $- != *i* ]] && return [[ $- != *i* ]] && return
+2 -2
View File
@@ -5,7 +5,7 @@ shadow-offset-x = 1;
shadow-offset-y = 1; shadow-offset-y = 1;
shadow-opacity = 0.3; shadow-opacity = 0.3;
shadow-ignore-shaped = false; shadow-ignore-shaped = false;
shadow-exclude = [ "name = 'Notification'", "override_redirect = 1 && !WM_CLASS@:s", "class_g ?= 'Dmenu'", "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", "_GTK_FRAME_EXTENTS@:c", "class_g ?= 'i3-frame', "class_g ?= 'trayer'" ]; shadow-exclude = [ "name = 'Notification'", "override_redirect = 1 && !WM_CLASS@:s", "class_g ?= 'Dmenu'", "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", "_GTK_FRAME_EXTENTS@:c", "class_g ?= 'i3-frame'", "class_g ?= 'trayer'" ];
menu-opacity = 1.0; menu-opacity = 1.0;
inactive-opacity = 1.0; inactive-opacity = 1.0;
active-opacity = 1; active-opacity = 1;
@@ -37,7 +37,7 @@ opacity-rule = [ "99:name *?= 'Call'",
"95:name *?= 'toot'", "95:name *?= 'toot'",
"95:name *?= 'nmon'", "95:name *?= 'nmon'",
"95:name *?= 'httping'", "95:name *?= 'httping'",
"85:name *?= 'xmobar'", "92:name *?= 'xmobar'",
"95:class_g *?= 'surf' && name *?='suckless.org'", "95:class_g *?= 'surf' && name *?='suckless.org'",
"95:class_g *?= 'tabbed'", "95:class_g *?= 'tabbed'",
"95:name *?= 'newsboat'", "95:name *?= 'newsboat'",
+39 -6
View File
@@ -9,9 +9,8 @@ hc() {
hc emit_hook reload hc emit_hook reload
xsetroot -solid '#5A8E3A' xsetroot -solid '#5A8E3A'
compton -C ~/.config/compton/compton.conf &
nitrogen --restore nitrogen --restore &
urxvtd -q -o -f
# remove all existing keybindings # remove all existing keybindings
hc keyunbind --all hc keyunbind --all
@@ -24,7 +23,41 @@ Mod=Mod4 # Use the super key as the main modifier
hc keybind $Mod-Shift-q quit hc keybind $Mod-Shift-q quit
hc keybind $Mod-Shift-r reload hc keybind $Mod-Shift-r reload
hc keybind $Mod-Shift-c close hc keybind $Mod-Shift-c close
hc keybind $Mod-Return spawn urxvtc hc keybind $Mod-Return spawn st
hc keybind $Mod-KP_Insert spawn dmenu_run -fn 'UbuntuMono Nerd Font:size=10' -nb '#292d3e' -nf '#bbc5ff' -sb '#82AAFF' -sf '#292d3e' -p 'dmenu:'
hc keybind $Mod-KP_End spawn st -e lynx -cfg=~/.lynx.cfg -lss=~/.lynx.lss http://www.distrowatch.com
hc keybind $Mod-KP_Down spawn st -e sh ./scripts/googler-script.sh
hc keybind $Mod-KP_Page_Down spawn st -e newsboat
hc keybind $Mod-KP_Left spawn st -e rtv
hc keybind $Mod-KP_Begin spawn st -e neomutt
hc keybind $Mod-KP_Right spawn st -e twitch-curses
hc keybind $Mod-KP_Home spawn st -e sh ./scripts/haxor-news.sh
hc keybind $Mod-KP_Up spawn st -e toot curses
hc keybind $Mod-KP_Page_Up spawn st -e sh ./scripts/tig-script.sh
hc keybind $Mod-Shift-KP_End spawn st -e ~/.config/vifm/scripts/vifmrun
hc keybind $Mod-Shift-KP_Down spawn st -e htop
hc keybind $Mod-Shift-KP_Page_Down spawn st -e cmus
hc keybind $Mod-Shift-KP_Left spawn st -e irssi
hc keybind $Mod-Shift-KP_Begin spawn st -e rtorrent
hc keybind $Mod-Shift-KP_Right spawn st -e youtube-viewer
hc keybind $Mod-Shift-KP_Home spawn st -e ncpamixer
hc keybind $Mod-Shift-KP_Up spawn st -e calcurse
hc keybind $Mod-Shift-KP_Page_Up spawn st -e vim ~/.config/herbstluftwm/autostart
hc keybind $Mod-Control-KP_End spawn st -e htop
hc keybind $Mod-Control-KP_Down spawn st -e glances
hc keybind $Mod-Control-KP_Page_Down spawn st -e nmon
hc keybind $Mod-Control-KP_Left spawn st -e httping -KY --draw-phase localhost
hc keybind $Mod-Control-KP_Begin spawn st -e s-tui
hc keybind $Mod-Control-KP_Right spawn st -e pianobar
hc keybind $Mod-Control-KP_Home spawn st -e cmatrix -C cyan
hc keybind $Mod-Control-KP_Up spawn st -e joplin
hc keybind $Mod-Control-KP_Page_Up spawn st -e wopr report.xml
# basic movement # basic movement
# focusing clients # focusing clients
@@ -126,7 +159,7 @@ hc set frame_gap 4
hc attr theme.active.color '#9fbc00' hc attr theme.active.color '#9fbc00'
hc attr theme.normal.color '#454545' hc attr theme.normal.color '#454545'
hc attr theme.urgent.color orange hc attr theme.urgent.color orange
hc attr theme.inner_width 1 hc attr theme.inner_width 0
hc attr theme.inner_color black hc attr theme.inner_color black
hc attr theme.border_width 3 hc attr theme.border_width 3
hc attr theme.floating.border_width 4 hc attr theme.floating.border_width 4
@@ -162,7 +195,7 @@ herbstclient set tree_style '╾│ ├└╼─┐'
# hc set_monitors 1280x1024+0+0 1280x1024+1280+0 # hc set_monitors 1280x1024+0+0 1280x1024+1280+0
# or simply: # or simply:
# hc detect_monitors # hc detect_monitors
hc set_monitors 1920x1054+1920+26 1920x1054+3840+26 1920x1054+0+26 hc set_monitors 1920x1058+1920+22 1920x1058+3840+22 1920x1058+0+22
# find the panel # find the panel
panel=~/.config/herbstluftwm/panel.sh panel=~/.config/herbstluftwm/panel.sh
+4 -4
View File
@@ -82,13 +82,13 @@ def init_keys():
[mod, "shift"], "q", [mod, "shift"], "q",
lazy.shutdown() # Shutdown Qtile lazy.shutdown() # Shutdown Qtile
), ),
Key([mod], "i", Key([mod], "w",
lazy.to_screen(2) # Keyboard focus screen(0) lazy.to_screen(2) # Keyboard focus screen(0)
), ),
Key([mod], "o", Key([mod], "e",
lazy.to_screen(0) # Keyboard focus screen(1) lazy.to_screen(0) # Keyboard focus screen(1)
), ),
Key([mod], "p", Key([mod], "r",
lazy.to_screen(1) # Keyboard focus screen(2) lazy.to_screen(1) # Keyboard focus screen(2)
), ),
Key([mod, "control"], "k", Key([mod, "control"], "k",
@@ -161,7 +161,7 @@ def init_keys():
# GUI Apps # GUI Apps
Key( Key(
[mod], "w", [mod], "b",
lazy.function(app_or_group("WWW", "firefox")) lazy.function(app_or_group("WWW", "firefox"))
), ),
Key( Key(
+1 -1
View File
@@ -2,7 +2,7 @@
-- install xmobar with these flags: --flags="with_alsa" --flags="with_mpd" --flags="with_xft" OR --flags="all_extensions" -- install xmobar with these flags: --flags="with_alsa" --flags="with_mpd" --flags="with_xft" OR --flags="all_extensions"
-- you can find weather location codes here: http://weather.noaa.gov/index.html -- you can find weather location codes here: http://weather.noaa.gov/index.html
Config { font = "xft:UbuntuMono Nerd Font:pixelsize=14:antialias=true:hinting=true" Config { font = "xft:Mononoki Nerd Font:pixelsize=14:antialias=true:hinting=true"
, bgColor = "#292d3e" , bgColor = "#292d3e"
, fgColor = "#bbc5ff" , fgColor = "#bbc5ff"
, position = Top , position = Top
+1 -1
View File
@@ -2,7 +2,7 @@
-- install xmobar with these flags: --flags="with_alsa" --flags="with_mpd" --flags="with_xft" OR --flags="all_extensions" -- install xmobar with these flags: --flags="with_alsa" --flags="with_mpd" --flags="with_xft" OR --flags="all_extensions"
-- you can find weather location codes here: http://weather.noaa.gov/index.html -- you can find weather location codes here: http://weather.noaa.gov/index.html
Config { font = "xft:UbuntuMono Nerd Font:pixelsize=14:antialias=true:hinting=true" Config { font = "xft:Mononoki Nerd Font:pixelsize=14:antialias=true:hinting=true"
, bgColor = "#292d3e" , bgColor = "#292d3e"
, fgColor = "#bbc5ff" , fgColor = "#bbc5ff"
, position = Top , position = Top
+1 -1
View File
@@ -2,7 +2,7 @@
-- install xmobar with these flags: --flags="with_alsa" --flags="with_mpd" --flags="with_xft" OR --flags="all_extensions" -- install xmobar with these flags: --flags="with_alsa" --flags="with_mpd" --flags="with_xft" OR --flags="all_extensions"
-- you can find weather location codes here: http://weather.noaa.gov/index.html -- you can find weather location codes here: http://weather.noaa.gov/index.html
Config { font = "xft:UbuntuMono Nerd Font:pixelsize=14:antialias=true:hinting=true" Config { font = "xft:Mononoki Nerd Font:pixelsize=14:antialias=true:hinting=true"
, additionalFonts = [ "xft:FontAwesome:pixelsize=13" ] , additionalFonts = [ "xft:FontAwesome:pixelsize=13" ]
, bgColor = "#292d3e" , bgColor = "#292d3e"
, fgColor = "#bbc5ff" , fgColor = "#bbc5ff"
+1 -1
View File
@@ -111,8 +111,8 @@ myStartupHook = do
spawnOnce "urxvtd &" spawnOnce "urxvtd &"
spawnOnce "nitrogen --restore &" spawnOnce "nitrogen --restore &"
spawnOnce "compton --config /home/dt/.config/compton/compton.conf &" spawnOnce "compton --config /home/dt/.config/compton/compton.conf &"
spawnOnce "exec /usr/bin/trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 10 --transparent true --alpha 0 --tint 0x292d3e --height 19 &"
setWMName "LG3D" setWMName "LG3D"
--spawnOnce "exec /usr/bin/trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 15 --transparent true --alpha 0 --tint 0x292d3e --height 19 &"
--spawnOnce "/home/dt/.xmonad/xmonad.start" -- Sets our wallpaper --spawnOnce "/home/dt/.xmonad/xmonad.start" -- Sets our wallpaper
------------------------------------------------------------------------ ------------------------------------------------------------------------
+1 -1
View File
@@ -1,4 +1,4 @@
export TERM="xterm-256color" export TERM="st-256color"
# If you come from bash you might have to change your $PATH. # If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH # export PATH=$HOME/bin:/usr/local/bin:$PATH
+2 -2
View File
@@ -5,7 +5,7 @@
* *
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
*/ */
static char *font = "UbuntuMono Nerd Font:pixelsize=16:antialias=true:autohint=true"; static char *font = "Mononoki Nerd Font:pixelsize=16:antialias=true:autohint=true";
static int borderpx = 2; static int borderpx = 2;
/* /*
@@ -83,7 +83,7 @@ char *termname = "st-256color";
unsigned int tabspaces = 8; unsigned int tabspaces = 8;
/* bg opacity */ /* bg opacity */
unsigned int alpha = 0xee; unsigned int alpha = 0xf2;
/* Terminal colors (16 first used in escape sequence) */ /* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = { static const char *colorname[] = {