all my homies actually hate nvim
This commit is contained in:
@@ -7,9 +7,12 @@ bindsym ctrl+$mod+v exec firefox https://www.youtube.com/watch?v=dQw4w9WgXcQ
|
||||
#This is Wallpaper
|
||||
exec_always --no-startup-id nitrogen --restore
|
||||
# Media Controls
|
||||
bindsym $mod+F3 exec --no-startup-id playerctl next
|
||||
bindsym $mod+F2 exec --no-startup-id playerctl play-pause
|
||||
bindsym $mod+F1 exec --no-startup-id playerctl previous
|
||||
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
|
||||
@@ -41,7 +44,7 @@ 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 -option "compose:ralt" -layout us -option "caps:escape"
|
||||
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
|
||||
@@ -71,3 +74,4 @@ exec_always --no-startup-id xsetwacom set 'Wacom One by Wacom M Pen stylus' Mapt
|
||||
bindsym ctrl+Shift+m exec --no-startup-id "pactl set-source-mute 0 toggle"
|
||||
# Sticky windows
|
||||
bindsym $mod+shift+semicolon sticky toggle
|
||||
# Funny Arabic
|
||||
|
||||
@@ -26,12 +26,13 @@ for_window [title = "Mozilla Firefox (Private Browsing)"] move to workspace $Vm
|
||||
assign [class = "firefox"] $Browsers
|
||||
assign [class = "Microsoft-edge"] $Browsers
|
||||
assign [class = "Nemo"] $Browsers
|
||||
assign [class ="Pavucontrol"] $Browsers
|
||||
# assign [class ="Pavucontrol"] $Browsers
|
||||
|
||||
#Code
|
||||
assign [class = "jetbrains-idea"] $Code
|
||||
assign [class = "jetbrains-studio"] $Code
|
||||
assign [class = "neovide"] $Code
|
||||
assign [class = "VSCodium"] $Code
|
||||
|
||||
#Ircs
|
||||
assign [class = "discord"] $IRC
|
||||
@@ -61,6 +62,7 @@ assign [class = "MultiMC"] $Steam
|
||||
assign [class = "Artix Game Launcher"] $Steam
|
||||
assign [class = "battle.net.exe"] $Steam
|
||||
assign [class = "PrismLauncher"] $Steam
|
||||
assign [class = "Albion Online Launcher"] $Steam
|
||||
|
||||
#Notes
|
||||
assign [class = "obsidian"] $Notes
|
||||
@@ -75,6 +77,10 @@ assign [class = "steam_app^.*"] $Game
|
||||
assign [class = "^.*Minecraft"] $Game
|
||||
assign [class = "^.*steam"] $Game
|
||||
assign [class = "^.*overwatch.exe"] $Game
|
||||
assign [class = "Albion-Online"] $Game
|
||||
assign [class = "leagueclientux.exe"] $Game
|
||||
|
||||
|
||||
|
||||
#Mail
|
||||
assign [class = "Evolution"] $Mail
|
||||
@@ -86,6 +92,22 @@ assign [class = "Chromium-browser"] $Vm
|
||||
|
||||
|
||||
#More Rules
|
||||
|
||||
# Roles (Thanks greyfade :D)
|
||||
for_window [window_role="pop-up"] floating enable
|
||||
for_window [window_role="task_dialog"] floating enable
|
||||
for_window [title = ".*Microsoft Teams"] floating disabled
|
||||
|
||||
#Workspaces
|
||||
|
||||
for_window [workspace = $Browsers] layout splitv
|
||||
#for_window [workspace = $Steam] floating enabled
|
||||
for_window [workspace = $Steam] layout splitv
|
||||
#for_window [workspace = $Youtube] floating enabled
|
||||
for_window [workspace = $Youtube] layout stacking
|
||||
for_window [workspace = $IRC] layout splitv
|
||||
# for_window [workspace = $Terminal] layout tabbed
|
||||
|
||||
#Classes
|
||||
for_window [class = "Spotify"] move to workspace $Mail
|
||||
for_window [class = "AppRun.wrapped"] floating enabled
|
||||
@@ -97,15 +119,6 @@ for_window [class = "GUI"] floating enabled
|
||||
for_window [class = "NoiseTorch"] floating enabled
|
||||
for_window [class = "flameshot"] floating enabled
|
||||
for_window [class = "Chromium-browser"] floating disabled
|
||||
|
||||
#Workspaces
|
||||
|
||||
for_window [workspace = $Browsers] layout splitv
|
||||
#for_window [workspace = $Steam] floating enabled
|
||||
for_window [workspace = $Steam] layout splitv
|
||||
#for_window [workspace = $Youtube] floating enabled
|
||||
for_window [workspace = $IRC] layout splitv
|
||||
# for_window [workspace = $Terminal] layout tabbed
|
||||
for_window [class = ".*"] title_format "<b>%class</b>"
|
||||
for_window [class = "XTerm"] floating enabled
|
||||
for_window [class = "org.opensuse.YaST"] floating enabled
|
||||
@@ -115,7 +128,6 @@ for_window [title = "ani-cli"] move to workspace $Youtube
|
||||
for_window [title = "^.*Private"] move to workspace $Vm
|
||||
for_window [title = "work" class = "kitty"] move to workspace $Code
|
||||
#for_window [title = "manga-cli"] move to workspace $Youtube
|
||||
for_window [title = "Albion Online Launcher"] move to workspace $Steam
|
||||
for_window [title = "Albion Online Client"] move to workspace $Game
|
||||
|
||||
# Roles (Thanks greyfade :D)
|
||||
for_window [window_role="pop-up"] floating enable
|
||||
for_window [window_role="task_dialog"] floating enable
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
font_family Fira Code
|
||||
font_size 12.0
|
||||
font_size 12.5
|
||||
map ctrl+shift+l next_tab
|
||||
map ctrl+shift+h previous_tab
|
||||
map ctrl+shift+j next_window
|
||||
map ctrl+shift+k previous_window
|
||||
|
||||
@@ -88,7 +88,7 @@ ext x?html?, has w3m, terminal = w3m "$@"
|
||||
mime ^text, label editor = "$EDITOR" -- "$@"
|
||||
mime ^text, label pager = "$PAGER" -- "$@"
|
||||
!mime ^text, label editor, ext xml|json|csv|py|pl|sh|php|tex = vim -- "$@"
|
||||
!mime ^text, label editor, ext dart|rs|js|ts|rb|java = nvim -- "$@"
|
||||
!mime ^text, label editor, ext dart|rs|js|ts|rb|java = vim -- "$@"
|
||||
!mime ^text, label pager, ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER" -- "$@"
|
||||
|
||||
ext 1 = man "$1"
|
||||
|
||||
Reference in New Issue
Block a user