btw i use nix
1
2bindsym $mod+r exec "pkill i3bar; i3bar --bar_id bar-0"
3bindsym $mod+Shift+r exec "i3-msg reload"
4
5bindsym $mod+q exec dunstctl close-all
6
7bindsym $mod+Shift+v exec rofi -i -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}'
8bindsym $mod+Control+v exec greenclip print | head -n 1 | xclip -i -selection "clipboard"
9bindsym $mod+Shift+Control+v exec xdotool type "$(greenclip print | head -n 1)"
10
11# for when latop output is disabled on resume
12bindsym $mod+Shift+p exec xrandr --output "$($SCRIPT_DIR/get_focused_output.sh)" --off