run "bash @src@/startup.sh" bind_key 23, true, "firefox" bind_key 24, true, :kill_window bind_key 25, true, "kitty" bind_key 26, true, "bash @src@/power.sh" bind_key 123, false, %q( pactl set-sink-volume @DEFAULT_SINK@ +5%; vol=$(pactl get-sink-volume @DEFAULT_SINK@ | grep -o '[0-9]\+%' | head -n1); dunstify "Volume Adjusted" "" -h int:value:$vol -r 997 ) bind_key 122, false, %q( pactl set-sink-volume @DEFAULT_SINK@ -5%; vol=$(pactl get-sink-volume @DEFAULT_SINK@ | grep -o '[0-9]\+%' | head -n1); dunstify "Volume Adjusted" "" -h int:value:$vol -r 997 ) bind_key 121, false, %q( pactl set-sink-mute @DEFAULT_SINK@ toggle; vol=$(pactl get-sink-volume @DEFAULT_SINK@ | grep -o '[0-9]\+%' | head -n1); dunstify "Volume Adjusted" "" -h int:value:$vol -r 997 ) bind_key 38, true, %Q( maim -c 0.3,0.5,1.0,0.8 -s | tee /tmp/screenshot_temp.png | xclip -selection clipboard -t image/png; if [ -s '/tmp/screenshot_temp.png' ]; then mv /tmp/screenshot_temp.png ~/screenshots/$(date +%Y-%m-%d_%H:%M:%S).png; fi ) bind_key 232, false, %q( brightnessctl set 5%-; pct=$(brightnessctl -m | cut -d, -f4 | tr -d ' %'); dunstify "Brightness" "" -h int:value:$pct -r 998 ) bind_key 233, false, %q( brightnessctl set 5%+; pct=$(brightnessctl -m | cut -d, -f4 | tr -d ' %'); dunstify "Brightness" "" -h int:value:$pct -r 998 ) bind_key 54, true, 'kitty -e fish -c "y"' bind_key 53, true, 'kitty -e fish -c "editor"' bind_key 41, true, 'kitty -e fish -c "btop"' bind_key 40, true, "bash @src@/run.sh" bind_key 56, true, :add_workspace bind_key 57, true, :delete_workspace bind_key 110, false, %q( dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify \ /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Pause; dbus-send --print-reply --dest=$(busctl --user list | grep -oP 'org.mpris.MediaPlayer2.firefox.instance_1_\d+') \ /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause ) bind_key 173, true, "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous" bind_key 171, true, "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next" bind_key 89, true, :toggle_scratchpad bind_key 81, true, :toggle_move_scratchpad bind_key 118, false, "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause" bind_key 86, false, :workspace_next bind_key 86, true, :move_window_next_workspace bind_key 82, false, :workspace_previous bind_key 82, true, :move_window_previous_workspace bind_key 10, true, "setxkbmap us" bind_key 11, true, "setxkbmap ara" bind_key 55, true, "CM_LAUNCHER=rofi clipmenu" bind_key 39, true, :toggle_floating bind_mouse 9, false, :workspace_next bind_mouse 9, true, :move_window_next_workspace bind_mouse 8, false, :workspace_previous bind_mouse 8, true, :move_window_previous_workspace