From 6993d219f40ca02dda63582b5d33f2789bec16a8 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Fri, 6 Nov 2020 16:08:52 +0530 Subject: changed some keybindings and moved the launch-lemonbar script to the scripts folder --- herbstluftwm/autostart | 13 +++++++------ herbstluftwm/launch | 15 --------------- 2 files changed, 7 insertions(+), 21 deletions(-) delete mode 100755 herbstluftwm/launch (limited to 'herbstluftwm') 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 -- cgit v1.2.3