Edited tmux and sxhkd configs to match keybindings more closely. Also fixed xrandr in xinit for two horizontal monitors.

This commit is contained in:
Thai Noodles 2024-01-01 18:12:57 -08:00
parent 4c53cfb9c5
commit 4c65eb0241
3 changed files with 9 additions and 11 deletions

View File

@ -103,17 +103,15 @@
bind r source-file $HOME/.config/tmux/tmux.conf \; display "tmux config reloaded"
# Rebind vertical/horizontal splitting
unbind v
unbind c
unbind %
unbind '"'
unbind v
bind v split-window -h -c "#{pane_current_path}"
bind c split-window -v -c "#{pane_current_path}"
unbind '"'
unbind b
bind b split-window -v -c "#{pane_current_path}"
# unbind a
# bind a new-window
unbind Enter
bind Enter new-window
unbind c
bind c new-window
unbind Tab
bind Tab last-window

View File

@ -3,11 +3,11 @@
# program launchers
# terminal emulator
super + Return
super + c
st
# terminal emulator with tmux session menu
super + shift + Return
super + shift + c
st -e "iitmux"
# program launcher

View File

@ -3,7 +3,7 @@ test -z "$DBUS_SESSION_BUS_ADDRESS" && eval $(dbus-launch --exit-with-session --
systemctl --user import-environment DISPLAY XAUTHORITY
command -v dbus-update-activation-environment >/dev/null 2>&1 && dbus-update-activation-environment DISPLAY XAUTHORITY
xrdb ~/.Xresources &
xrandr --output DP-1 --primary --mode 2560x1440 --pos 0x560 --rotate normal --rate "164.99" --output DP-2 --mode 2560x1440 --pos 2560x0 --rotate left --rate "164.99" --output DP-3 --off --output HDMI-1 --off --output HDMI-1-2 --off &
xrandr --output DP-1 --primary --mode 2560x1440 --pos 0x0 --rotate normal --rate "164.99" --output DP-2 --mode 2560x1440 --pos 2560x0 --rotate normal --rate "164.99" --output DP-3 --off --output HDMI-1 --off --output HDMI-1-2 --off &
picom &
hsetroot -solid "#282a36" &
xbanish &