Compare commits

..

2 Commits

Author SHA1 Message Date
Joel Beckmeyer 015e08d766 add tmux 2023-07-21 22:01:39 -04:00
Joel Beckmeyer dec51a3714 remove explicit references to homedir path 2023-07-21 22:01:32 -04:00
3 changed files with 15 additions and 4 deletions

View File

@ -25,7 +25,7 @@ set $pass rofi-rbw --target password
set $totp rofi-rbw --target TOTP
# Your preferred screen locker (also starts BOINC to ensure all idle time is
# being used)
set $lock swaylock -f --scaling=center -i /home/joel/Pictures/wallpapers/the-northern-forest-1920×1080.jpg
set $lock swaylock -f --scaling=center -i ~/Pictures/wallpapers/the-northern-forest-1920×1080.jpg
# Volume commands
set $volume-up pactl set-sink-volume @DEFAULT_SINK@ +2% && killall -SIGUSR1 i3status
set $volume-down pactl set-sink-volume @DEFAULT_SINK@ -2% && killall -SIGUSR1 i3status
@ -109,8 +109,8 @@ bindsym $mod+u kill
bindsym $mod+o exec $menu
# screenshot
bindsym $mod+x exec grim -c -g "$(slurp)" /home/joel/Pictures/screenshots/$(date +'%Y-%m-%d-%H%M%S_grim.png')
bindsym $mod+Shift+x exec grim -c /home/joel/Pictures/screenshots/$(date +'%Y-%m-%d-%H%M%S_grim.png')
bindsym $mod+x exec grim -c -g "$(slurp)" ~/Pictures/screenshots/$(date +'%Y-%m-%d-%H%M%S_grim.png')
bindsym $mod+Shift+x exec grim -c ~/Pictures/screenshots/$(date +'%Y-%m-%d-%H%M%S_grim.png')
# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.

11
dot_config/tmux/tmux.conf Normal file
View File

@ -0,0 +1,11 @@
# vim keybindings in copy mode
set-option -g mouse on
setw -g mode-keys vi
# set-option -s set-clipboard off
bind P paste-buffer
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X rectangle-toggle
# increase scrollback
set-option -g history-limit 25000
# Enable RGB colour if running in xterm(1)
set-option -sa terminal-overrides ",xterm*:Tc"

View File

@ -11,7 +11,7 @@ unsetopt beep
bindkey -v
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/joel/.zshrc'
zstyle :compinstall filename "$ZDOTDIR/.zshrc"
autoload -Uz compinit
compinit -d "$XDG_CACHE_HOME"/zsh/zcompdump-"$ZSH_VERSION"