91 lines
3.5 KiB
Plaintext
91 lines
3.5 KiB
Plaintext
#The best hot key ever
|
|
bindsym ctrl+$mod+v exec firefox https://www.youtube.com/watch?v=dQw4w9WgXcQ
|
|
#disable mouse binds
|
|
#bindsym $mod+shift+a exec ~/scripts/mouse.sh -0.5 0
|
|
#bindsym $mod+shift+b exec ~/scripts/mouse.sh -0.5 1
|
|
|
|
#This is Wallpaper
|
|
exec_always --no-startup-id nitrogen --restore
|
|
# Media Controls
|
|
bindsym $mod+F3 exec --no-startup-id playerctl -p spotify next
|
|
bindsym $mod+F2 exec --no-startup-id playerctl -p spotify play-pause
|
|
bindsym $mod+F1 exec --no-startup-id playerctl -p spotify previous
|
|
bindsym $mod+shift+F3 exec --no-startup-id playerctl next
|
|
bindsym $mod+shift+F2 exec --no-startup-id playerctl play-pause
|
|
bindsym $mod+shift+F1 exec --no-startup-id playerctl previous
|
|
|
|
#polybar
|
|
exec_always ~/.config/polybar/launch.sh --blocks
|
|
|
|
#bar {
|
|
# font pango:DejaVU Sans Mono, PowerlineSymbols 12
|
|
# status_command i3status-rs
|
|
# position top
|
|
# output primary
|
|
# tray_output none
|
|
#
|
|
# colors {
|
|
#
|
|
# }
|
|
# }
|
|
|
|
#picom
|
|
# exec_always picom
|
|
|
|
|
|
#Resolution and Mouse sense scripts
|
|
#exec_always ~/scripts/res.sh
|
|
exec ~/scripts/mouse.sh -0.5 1
|
|
|
|
# move focused workspace between monitors
|
|
bindsym $mod+Ctrl+Right layout toggle split, move workspace to output right
|
|
bindsym $mod+Ctrl+l layout toggle split, move workspace to output right
|
|
bindsym $mod+Ctrl+Left layout toggle split, move workspace to output left
|
|
bindsym $mod+Ctrl+h layout toggle split, move workspace to output left
|
|
|
|
# Compose key
|
|
exec_always setxkbmap -layout us,ar -variant ,ergoarabic -option "compose:ralt" -option "caps:escape" -option "grp:alt_shift_toggle"
|
|
|
|
# FUCK YOU MICROSOFT (thank you copilot)
|
|
exec_always --no-startup-id xmodmap ~/.Xmodmap
|
|
|
|
#Useful thing to switch back when you press same switcher key (this breaks the spotify move to workspace rule)
|
|
#workspace_auto_back_and_forth yes
|
|
|
|
# dunstctl binds
|
|
#bindsym Ctrl+space exec --no-startup-id dunstctl close-all
|
|
bindsym Ctrl+shift+semicolon exec --no-startup-id dunstctl history-pop
|
|
|
|
|
|
#wacom tablet thingss
|
|
exec_always --no-startup-id xsetwacom set 'Wacom One by Wacom M Pen stylus' MaptoOutput HEAD-0
|
|
# exec --no-startup-id xinput --set-prop 'Wacom One by Wacom M Pen stylus' 'Wacom Rotation' 3
|
|
|
|
|
|
# Useful for laptops
|
|
# media keys
|
|
# bindsym XF86AudioMute exec --no-startup-id "pactl set-sink-mute @DEFAULT_SINK@ toggle"
|
|
# bindsym XF86LowerAudio exec --no-startup-id "pactl set-sink-volume @DEFAULT_SINK@ -5% && paplay /usr/share/sounds/freedesktop/stereo/bell.oga"
|
|
# bindsym XF86RaiseAudio exec --no-startup-id "pactl set-sink-volume @DEFAULT_SINK@ +5% && paplay /usr/share/sounds/freedesktop/stereo/bell.oga"
|
|
# bindsym XF86AudioLowerVolume exec --no-startup-id "pactl set-sink-volume @DEFAULT_SINK@ -5% && paplay /usr/share/sounds/freedesktop/stereo/bell.oga"
|
|
# bindsym XF86AudioRaiseVolume exec --no-startup-id "pactl set-sink-volume @DEFAULT_SINK@ +5% && paplay /usr/share/sounds/freedesktop/stereo/bell.oga"
|
|
#adjust this according to how many mics you got
|
|
#bindsym XF86AduioMicMute exec --no-startup-id "pactl set-source-mute 0 toggle"
|
|
bindsym ctrl+Shift+m exec --no-startup-id "pactl set-source-mute 0 toggle"
|
|
# Sticky windows
|
|
bindsym $mod+shift+semicolon sticky toggle
|
|
# Funny Arabic
|
|
|
|
# The awesome scratch pad
|
|
bindsym $mod+shift+x [floating] move scratchpad
|
|
bindsym $mod+x move scratchpad
|
|
bindsym $mod+t scratchpad show
|
|
|
|
# MAAARRKKKKKK (they do something)
|
|
bindsym $mod+m exec i3-input -F 'mark %s' -l 1 -P 'Mark: '
|
|
bindsym $mod+u exec i3-input -F '[con_mark="%s"] focus' -l 1 -P 'Goto: '
|
|
|
|
# Super + Tab
|
|
bindsym $mod+Tab workspace next_on_output
|
|
bindsym $mod+shift+Tab workspace prev_on_output
|