aboutsummaryrefslogtreecommitdiff
path: root/herbstluftwm/autostart
diff options
context:
space:
mode:
authorVidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com>2020-11-06 10:21:25 +0530
committerVidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com>2020-11-06 10:21:25 +0530
commit93c04f779a1ce6487bbf5610238ff9d66b44ab19 (patch)
tree967b4c10402d31851213129705a67054510ddf88 /herbstluftwm/autostart
parentd26cef6d9ac6b4882753c9385ec08202bb3e358a (diff)
added a folder for custom scripts
Diffstat (limited to 'herbstluftwm/autostart')
-rwxr-xr-xherbstluftwm/autostart12
1 files changed, 8 insertions, 4 deletions
diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart
index ae804687..b1287405 100755
--- a/herbstluftwm/autostart
+++ b/herbstluftwm/autostart
@@ -19,16 +19,15 @@ 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 dmenu_run
+hc keybind Mod1-Return spawn run_dmenu
hc keybind Mod4-Shift-m spawn betterlockscreen -s
-hc keybind Mod1-s spawn scrot ~/Media/Screenshots/%Y-%d-%m-%T-screenshot.png
+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 &
-polybar herbstluftbar &
dunst &
TERMINAL=st
@@ -159,6 +158,11 @@ hc set frame_padding 1
hc set smart_window_surroundings on
hc set smart_frame_surroundings on
hc set mouse_recenter_gap 0
+hc set default_frame_layout 3
+hc set hide_covered_windows 1
+hc set gapless_grid 1
+hc set auto_detect_panels 1
+
# rules
@@ -183,7 +187,7 @@ hc unlock
# hc detect_monitors
# find the panel
-panel=~/.config/herbstluftwm/panel.sh
+panel=~/.config/herbstluftwm/launch
[ -x "$panel" ] || panel=/etc/xdg/herbstluftwm/panel.sh
for monitor in $(hc list_monitors | cut -d: -f1) ; do
# start it on each monitor