# keybindings # Note, this is for more of a "global" keybindings. Modes will have their own mode_whatever.conf keybinding bindsym $mod+Return exec kitty bindsym Control+$alt+l exec /home/kellya/.config/sway/scripts/lock.sh bindsym $mod+Shift+d exec i3-dmenu-desktop --dmenu="dmenu -i -fn 'Noto Sans:size=8'" bindsym $mod+d exec /usr/local/bin/rofi -lines 12 -padding 18 -width 60 -location 0 -show drun -sidebar-mode -columns 3 -font 'Noto Sans 8' -show-icons -m "$(swaymsg -t get_outputs | jq -c '.[] | select(.focused) | select(.id)' | jq -c '.name')" bindsym --border button2 kill #bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status bindsym XF86AudioRaiseVolume exec swayosd-client --output-volume raise bindsym $mod+Up exec swayosd-client --output-volume raise #bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status bindsym XF86AudioLowerVolume exec swayosd-client --output-volume lower bindsym $mod+Down exec swayosd-client --output-volume lower #bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status bindsym XF86AudioMute exec swayosd-client --output-volume mute-toggle #bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status bindsym $mod+backslash exec swayosd-client --input-volume mute-toggle bindsym XF86AudioPause exec --no-startup-id mpc toggle #Bind media player buttons bindsym XF86AudioPlay exec "~/bin/mediakeys.sh play-pause" bindsym XF86AudioStop exec "~/bin/mediakeys.sh stop"; bindsym XF86AudioPrev exec "~/bin/mediakeys.sh previous"; bindsym XF86AudioNext exec "~/bin/mediakeys.sh next"; # display clipboard contents via rofi #bindsym Control+$alt+h exec rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}' bindsym Control+$alt+h exec ~/.local/bin/rofi-copyq # kill active window bindsym $mod+q kill # reload i3 config bindsym $mod+Shift+c reload # restart i3 bindsym $mod+Shift+r restart # quit i3 #bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" bindsym $mod+Shift+e exec "wlogout" bindsym Control+Alt+Backspace exec "wlogout" bindsym Control+Alt+Delete exec "wlogout" bindsym $mod+b bar mode hide bindsym $mod+Shift+b bar mode dock # change window focus, vim binding bindsym $mod+h focus left bindsym $mod+j focus down bindsym $mod+k focus up bindsym $mod+l focus right # change window focus, arrows bindsym $mod+Left focus left bindsym $mod+Right focus right # move active window, vim binding bindsym $mod+Shift+h move left bindsym $mod+Shift+j move down bindsym $mod+Shift+k move up bindsym $mod+Shift+l move right # move active window, arrows bindsym $mod+Shift+Left move left bindsym $mod+Shift+Down move down bindsym $mod+Shift+Up move up bindsym $mod+Shift+Right move right bindsym $mod+v split v bindsym $mod+f fullscreen toggle bindsym $mod+w layout tabbed bindsym $mod+e layout toggle split bindsym $mod+Shift+space floating toggle bindsym $mod+space focus mode_toggle bindsym $mod+a focus parent # bind up and down arrows to volume script #bindsym $mod+Up exec "~/bin/volume.sh up" #bindsym $mod+Down exec "~/bin/volume.sh down" #bindsym $mod+backslash exec "~/bin/volume.sh mtoggle" # $mod 0-9 to change workspace bindsym $mod+1 workspace number $ws1 bindsym $mod+2 workspace number $ws2 bindsym $mod+3 workspace number $ws3 bindsym $mod+4 workspace number $ws4 bindsym $mod+5 workspace number $ws5 bindsym $mod+6 workspace number $ws6 bindsym $mod+7 workspace number $ws7 bindsym $mod+8 workspace number $ws8 bindsym $mod+9 workspace number $ws9 bindsym $mod+0 workspace number $ws10 # move active containers to workspace number bindsym $mod+Shift+1 move container to workspace number $ws1 bindsym $mod+Shift+2 move container to workspace number $ws2 bindsym $mod+Shift+3 move container to workspace number $ws3 bindsym $mod+Shift+4 move container to workspace number $ws4 bindsym $mod+Shift+5 move container to workspace number $ws5 bindsym $mod+Shift+6 move container to workspace number $ws6 bindsym $mod+Shift+7 move container to workspace number $ws7 bindsym $mod+Shift+8 move container to workspace number $ws8 bindsym $mod+Shift+9 move container to workspace number $ws9 bindsym $mod+Shift+0 move container to workspace number $ws10 # Move workspace to monitor bindsym $mod+Ctrl+greater move workspace to output right bindsym $mod+Ctrl+less move workspace to output left # # scratchpad bindsym $mod+Shift+minus move scratchpad bindsym $mod+minus scratchpad show bindsym $mod+plus floating toggle bindswitch lid:on output eDP-1 disable bindswitch lid:off output eDP-1 enable # Notification key to bring up swaync bindsym $mod+Shift+n exec "/usr/bin/swaync-client -t" #Brightness # Brightness raise bindsym XF86MonBrightnessUp exec swayosd-client --brightness raise # Brightness lower bindsym XF86MonBrightnessDown exec swayosd-client --brightness lower