diff --git a/dwl.entourage b/dwl.entourage index 067a0ab..32b39fb 100755 --- a/dwl.entourage +++ b/dwl.entourage @@ -14,8 +14,22 @@ if [[ $NUM_DISPS > 1 ]]; then # Dual screen # wlr-randr --output HDMI-A-1 --on --pos 0,0 --output eDP-1 --on --pos 0,1050 # wlr-randr --output HDMI-A-1 --on --pos 0,0 --output eDP-1 --on --pos 2560,0 - # With Dell 1920x1200 display - wlr-randr --output HDMI-A-1 --on --pos 0,0 --output eDP-1 --on --pos 0,1200 + + # With Dell 1920x1200 display - vertical arrangement + # + # .--------------------------------. + # | | + # | DELL 24" 1920x1200 | + # | (HDMI-A-1) | + # | | + # `--------------------------------' + # | | + # | LAPTOP 13" 1366x768 | + # | (eDP-1) | + # | | + # `-------------------------' + # + wlr-randr --output HDMI-A-1 --on --pos 0,0 --output eDP-1 --on --pos 300,1200 else # Single laptop screen wlr-randr --output HDMI-A-1 --off --output eDP-1 --on --pos 0,0 @@ -47,8 +61,7 @@ swayidle -w timeout 600 swaylock & # ---------------------------------------------------------- # Redirect STDIN to STDOUT and pass along to tags script # ---------------------------------------------------------- -BAR_PATH=/usr/local/bin/somebar -# BAR_PATH=/home/mahesh/git/somebar_20231001/build/somebar +DWL_BAR=$DWL_BAR_PATH/somebar export SOMEBAR_FIFO=$XDG_RUNTIME_DIR/somebar.fifo mkfifo $SOMEBAR_FIFO -m666 @@ -58,5 +71,5 @@ conky -c ~/.conkyrc > $SOMEBAR_FIFO & (while read line do echo $line -done) | ($BAR_PATH -s $SOMEBAR_FIFO > $XDG_RUNTIME_DIR/somebar.log 2>&1) +done) | ($DWL_BAR -s $SOMEBAR_FIFO > $XDG_RUNTIME_DIR/somebar.log 2>&1) diff --git a/dwl.session b/dwl.session index df9ed96..a006323 100755 --- a/dwl.session +++ b/dwl.session @@ -2,6 +2,12 @@ echo $XDG_RUNTIME_DIR used for Wayland session export WLR_LIBINPUT_NO_DEVICES=1 + +export DWL_PATH=/usr/local/bin +# export DWL_PATH=/home/mahesh/git/dwl_20240101 +export DWL_BAR_PATH=/usr/local/bin +# export DWL_BAR_PATH=/home/mahesh/git/somebar_20240217/build + # export DWLTAGS_SHOW_MON=1 export PATH=~/bin:$PATH # export DWL_LOG_VERBOSE=1 @@ -9,4 +15,4 @@ export PATH=~/bin:$PATH echo "Session: in $XDG_RUNTIME_DIR" >> $DWL_LOG_FILE env -exec /usr/local/bin/dwl -s $HOME/bin/dwl.entourage +exec $DWL_PATH/dwl -s $HOME/bin/dwl.entourage diff --git a/dwl_act b/dwl_act index 1fc095a..378eb79 100755 --- a/dwl_act +++ b/dwl_act @@ -1,8 +1,9 @@ #!/usr/bin/env bash act=$1 +timestamp=$(date) -echo "$0 - $act" >> ~/dwl_key_act.log +echo "$0 - $timestamp - $act" >> ~/dwl_key_act.log # In Wayland, use the following like X11's xev: # @@ -20,7 +21,7 @@ case $act in # wlan) ;; # tools) ;; # search) ;; - # launch) ;; + launch) wldash;; # explore) ;; *) echo "Unknown action '$act'";; esac diff --git a/user.bash_aliases b/user.bash_aliases index 28c939e..3334dbe 100644 --- a/user.bash_aliases +++ b/user.bash_aliases @@ -52,5 +52,5 @@ function pgrep () { } function start_tmux () { - tmux new -A -s Tenor + TERM=screen-256color tmux new -A -s DevEnv }