aboutsummaryrefslogtreecommitdiff
path: root/herbstluftwm
diff options
context:
space:
mode:
authorVidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com>2020-11-06 16:08:52 +0530
committerVidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com>2020-11-06 16:08:52 +0530
commit6993d219f40ca02dda63582b5d33f2789bec16a8 (patch)
tree05be22aa7565dd0b056754aeb51e60a0fdc77bd6 /herbstluftwm
parent1fac77d6c1d40e4fa1ee67b5c1b84d6d308ad311 (diff)
changed some keybindings and moved the launch-lemonbar script to the scripts folder
Diffstat (limited to 'herbstluftwm')
-rwxr-xr-xherbstluftwm/autostart13
-rwxr-xr-xherbstluftwm/launch15
2 files changed, 7 insertions, 21 deletions
diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart
index b1287405..dc44f502 100755
--- a/herbstluftwm/autostart
+++ b/herbstluftwm/autostart
@@ -19,16 +19,17 @@ hc set focus_follows_mouse 1
# if you have a super key you will be much happier with Mod set to Mod4
# Mod=Mod1 # Use alt as the main modifier
Mod=Mod4 # Use the super key as the main modifier
-hc keybind Mod1-Return spawn run_dmenu
-hc keybind Mod4-Shift-m spawn betterlockscreen -s
-hc keybind Mod1-s spawn scrot /zt/Screenshots/%Y-%d-%m-%T-screenshot.png
-hc keybind Mod4-Shift-Return spawn pcmanfm
+# hc keybind Mod1-Return spawn run_dmenu
+# hc keybind Mod4-Shift-m spawn betterlockscreen -s
+# hc keybind Mod1-s spawn scrot /zt/Screenshots/%Y-%d-%m-%T-screenshot.png
+# hc keybind Mod4-Shift-Return spawn pcmanfm
# autostart
firefox &
picom &
nitrogen --restore &
dunst &
+sxhkd &
TERMINAL=st
@@ -36,7 +37,7 @@ TERMINAL=st
hc keybind $Mod-Shift-q quit
hc keybind $Mod-Shift-r reload
hc keybind Mod1-w close
-hc keybind $Mod-Return spawn "${TERMINAL:-konsole}" # use your $TERMINAL with xterm as fallback
+# hc keybind $Mod-Return spawn "${TERMINAL:-konsole}" # use your $TERMINAL with xterm as fallback
# basic movement in tiling and floating mode
# focusing clients
@@ -187,7 +188,7 @@ hc unlock
# hc detect_monitors
# find the panel
-panel=~/.config/herbstluftwm/launch
+panel=~/.config/scripts/launch-lemonbar
[ -x "$panel" ] || panel=/etc/xdg/herbstluftwm/panel.sh
for monitor in $(hc list_monitors | cut -d: -f1) ; do
# start it on each monitor
diff --git a/herbstluftwm/launch b/herbstluftwm/launch
deleted file mode 100755
index 19488304..00000000
--- a/herbstluftwm/launch
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-
-# this script executes the mainbar script
-# then pipes it into lemonbar
-# and pipes the lemonbar's output
-# to the button-actions script
-# which handles all the button actions
-
-cd /home/zt/.config/lemonbar
-
-./mainbar | lemonbar -g 1366x21 -B '#171520' -p -F '#ffffff' -f "Source Han Sans JP:size=10" -o -3 -f "RobotoMono Nerd Font:style=Regular:size=15" -f -n "mainbar" -o 0 | ./button-actions
-
-echo "lemonbar launched"
-
-exit