mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2025-04-29 17:25:34 +00:00
101 lines
5.6 KiB
Plaintext
101 lines
5.6 KiB
Plaintext
# Assign workspaces to monitors
|
|
workspace $ws1 output DP-4
|
|
workspace $ws2 output DP-4
|
|
workspace $ws3 output DP-4
|
|
workspace $ws4 output DP-4
|
|
workspace $wsGames output DP-4
|
|
workspace $wsResolve output DP-4
|
|
workspace $wsReaper output DP-4
|
|
workspace $wsBitwig output DP-4
|
|
workspace $ws5 output DVI-D-0
|
|
workspace $ws6 output DVI-D-0
|
|
workspace $ws7 output DVI-D-0
|
|
workspace $ws8 output DVI-D-0
|
|
workspace $ws9 output HDMI-0
|
|
workspace $ws10 output HDMI-0
|
|
|
|
exec --no-startup-id compton &
|
|
exec --no-startup-id feh --bg-scale ~/Pictures/desktop/0001.jpg
|
|
|
|
mode "$g13" {
|
|
bindsym 1 exec --no-startup-id cat ~/.config/g13/overwatch.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/overwatch.lpbm > /tmp/g13-0; mode "default"
|
|
bindsym 2 exec --no-startup-id cat ~/.config/g13/resolve.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/resolve.lpbm > /tmp/g13-0; mode "default"
|
|
bindsym 3 exec --no-startup-id cat ~/.config/g13/planet-coaster.bind > /tmp/g13-0 && sleep 0.1 && cat ~/.config/g13/planet-coaster.lpbm > /tmp/g13-0; mode "default"
|
|
bindsym 4 exec --no-startup-id cat ~/.config/g13/fall-guys.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/fall-guys.lpbm > /tmp/g13-0; mode "default"
|
|
bindsym Escape mode "default"
|
|
bindsym Return mode "default"
|
|
}
|
|
set $g13 G13 Profile: [1] Overwatch [2] Resolve [3] Planet Coaster [4] Fall Guys
|
|
bindsym $mod+F1 mode "$g13"
|
|
exec_always --no-startup-id g13d --config ~/.config/g13/resolve.bind --logo ~/.config/g13/resolve.lpbm &
|
|
|
|
# Starts Jack for audio
|
|
exec --no-startup-id sh ~/.config/scripts/audio/system-start-audio.sh
|
|
exec --no-startup-id "workspace $1; exec alacritty"
|
|
|
|
# Open Google Play Music on workspace 10
|
|
for_window [title="Google Play Music Desktop Player"] move to workspace $ws10
|
|
|
|
# Starting Overwatch
|
|
for_window [class="overwatch.exe" title="Overwatch"] move to workspace $wsGames
|
|
for_window [class="overwatch.exe" title="Overwatch"] exec --no-startup-id cat ~/.config/g13/overwatch.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/overwatch.lpbm > /tmp/g13-0
|
|
for_window [class="battle.net.exe" title="Battle.net"] move to workspace $wsGames
|
|
for_window [class="battle.net.exe" title="Blizzard Battle.net"] move to workspace $wsGames
|
|
for_window [class="Lutris"] move to workspace $ws4
|
|
|
|
# DOOM
|
|
for_window [class="Wine" title="DOOMx64vk"] move to workspace $wsGames
|
|
for_window [class="Wine" title="DOOMx64vk"] exec --no-startup-id cat ~/.config/g13/doom.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/doom.lpbm > /tmp/g13-0
|
|
|
|
# DOOM Eternal
|
|
for_window [title="DOOMEternal"] move to workspace $wsGames
|
|
for_window [title="DOOMEternal"] exec --no-startup-id cat ~/.config/g13/doom-eternal.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/doom.lpbm > /tmp/g13-0
|
|
|
|
# Planet Coaster
|
|
for_window [class="planetcoaster.exe" title="Planet Coaster"] move to workspace $wsGames
|
|
for_window [class="planetcoaster.exe" title="Planet Coaster"] exec --no-startup-id cat ~/.config/g13/planet-coaster.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/planet-coaster.lpbm > /tmp/g13-0
|
|
|
|
# Cyberpunk 2077
|
|
for_window [class="steam_app_1091500" title="Cyberpunk 2077 (C) 2020 by CD Projekt RED"] move to workspace $wsGames
|
|
for_window [class="steam_app_1091500" title="Cyberpunk 2077 (C) 2020 by CD Projekt RED"] exec --no-startup-id cat ~/.config/g13/cyberpunk-2077.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/cyberpunk-2077.lpbm > /tmp/g13-0
|
|
|
|
# Starting DaVinci Resolve
|
|
for_window [class="resolve"] move to workspace $wsResolve
|
|
for_window [class="resolve"] exec --no-startup-id cat ~/.config/g13/resolve.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/resolve.lpbm > /tmp/g13-0
|
|
bindsym $mod+/ gaps inner current set 0; gaps outer current set 0
|
|
|
|
# Starting Reaper
|
|
for_window [class="REAPER"] move to workspace $wsReaper
|
|
|
|
# Steam
|
|
for_window [class="^Steam$"] move to workspace $wsGames
|
|
|
|
# Bitwig
|
|
assign [class="^Show-splash-gtk$"] $wsBitwig
|
|
assign [class="^Bitwig Studio$"] $wsBitwig
|
|
|
|
# Fall Guys
|
|
for_window [title="FallGuys_client"] move to workspace $wsGames
|
|
for_window [title="FallGuys_client"] exec --no-startup-id cat ~/.config/g13/fall-guys.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/fall-guys.lpbm > /tmp/g13-0
|
|
|
|
# Portal
|
|
for_window [class="hl2_linux" title="Portal - OpenGL"] move to workspace $wsGames
|
|
for_window [class="hl2_linux" title="Portal - OpenGL"] exec --no-startup-id cat ~/.config/g13/portal.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/portal.lpbm > /tmp/g13-0
|
|
for_window [class="portal2_linux" title="PORTAL 2 - OpenGL"] move to workspace $wsGames
|
|
for_window [class="portal2_linux" title="PORTAL 2 - OpenGL"] exec --no-startup-id cat ~/.config/g13/portal.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/portal.lpbm > /tmp/g13-0
|
|
|
|
# Two Point Hospital
|
|
for_window [class="TPH.x86_64" title="Two Point Hospital"] move to workspace $wsGames
|
|
for_window [class="TPH.x86_64" title="Two Point Hospital"] exec --no-startup-id cat ~/.config/g13/two-point-hospital.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/two-point-hospital.lpbm > /tmp/g13-0
|
|
|
|
|
|
# Minecraft
|
|
for_window [class="Minecraft*" title="Minecraft*"] move to workspace $wsGames
|
|
for_window [class="Minecraft*" title="Minecraft*"] exec --no-startup-id cat ~/.config/g13/minecraft.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/minecraft.lpbm > /tmp/g13-0
|
|
|
|
# The side buttons move the desktop around
|
|
bindsym --whole-window button9 exec python3 ~/.config/scripts/i3-mouse.py back
|
|
bindsym --whole-window button8 exec python3 ~/.config/scripts/i3-mouse.py forward
|
|
bindsym $mod+Tab exec python3 ~/.config/scripts/i3-mouse.py thumb
|
|
|