From 3441fd47dd622905ed2ea5a1d6f00f4296659629 Mon Sep 17 00:00:00 2001 From: LinlyBoi Date: Mon, 1 May 2023 00:30:36 +0300 Subject: [PATCH] all my homies actually hate nvim --- private_dot_config/i3/misc.conf | 12 +++++--- private_dot_config/i3/window_rules.conf | 38 ++++++++++++++++--------- private_dot_config/kitty/misc.conf | 4 ++- private_dot_config/ranger/rifle.conf | 2 +- 4 files changed, 37 insertions(+), 19 deletions(-) diff --git a/private_dot_config/i3/misc.conf b/private_dot_config/i3/misc.conf index 6c3df13..bd245ae 100644 --- a/private_dot_config/i3/misc.conf +++ b/private_dot_config/i3/misc.conf @@ -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 diff --git a/private_dot_config/i3/window_rules.conf b/private_dot_config/i3/window_rules.conf index 722350d..17a6355 100644 --- a/private_dot_config/i3/window_rules.conf +++ b/private_dot_config/i3/window_rules.conf @@ -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 "%class" 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 diff --git a/private_dot_config/kitty/misc.conf b/private_dot_config/kitty/misc.conf index 40f0f3d..d8a9f5a 100644 --- a/private_dot_config/kitty/misc.conf +++ b/private_dot_config/kitty/misc.conf @@ -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 diff --git a/private_dot_config/ranger/rifle.conf b/private_dot_config/ranger/rifle.conf index afc8639..14303b9 100644 --- a/private_dot_config/ranger/rifle.conf +++ b/private_dot_config/ranger/rifle.conf @@ -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"