From dd1b7376c199f6f840cd8c74e7218dd6fd8ae164 Mon Sep 17 00:00:00 2001 From: Christian Colglazier Date: Sun, 5 Jul 2020 16:25:25 -0400 Subject: [PATCH] Bindings for Planet Coaster --- g13/planet-coaster.bind | 19 +++++++++++++++++++ g13/planet-coaster.lpbm | 1 + i3/desktop.conf | 19 ++++++++++++------- i3/shared.conf | 1 + 4 files changed, 33 insertions(+), 7 deletions(-) create mode 100644 g13/planet-coaster.bind create mode 100644 g13/planet-coaster.lpbm diff --git a/g13/planet-coaster.bind b/g13/planet-coaster.bind new file mode 100644 index 0000000..9c394e9 --- /dev/null +++ b/g13/planet-coaster.bind @@ -0,0 +1,19 @@ +# Planet Coaster + +# Setup stick bounds +stickzone del STICK_PAGEUP +stickzone del STICK_PAGEDOWN +stickzone bounds STICK_LEFT 0.0 0.3 0.2 0.7 +stickzone bounds STICK_RIGHT 0.8 0.3 1.0 0.7 +stickzone bounds STICK_UP 0.3 0.0 0.7 0.2 +stickzone bounds STICK_DOWN 0.3 0.8 0.7 1.0 + +# Camera Movement +bind G4 KEY_W +bind G10 KEY_A +bind G11 KEY_S +bind G12 KEY_D +bind G3 KEY_Q +bind G5 KEY_E + +rgb 0 120 181 diff --git a/g13/planet-coaster.lpbm b/g13/planet-coaster.lpbm new file mode 100644 index 0000000..eed052f --- /dev/null +++ b/g13/planet-coaster.lpbm @@ -0,0 +1 @@ +џџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџПппяяїїїчяяЯŸ??џџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ333‡Яџџџџџџџџ?УУ?џџџџ““““џѓѓѓѓѓѓџwѓёѕітьЮжй-s;зчooŸПП~xAƒѓѓѓїяџŸѓёёёccџџёёёcŸџУџџЧƒ™™?џѓѓѓѓѓѓџџ““““џџ333ЧџџџјјџџџџџџџјјјљљљљџљјјўўўўјјљџјјјџџџўјјјџјјјљљљљџџџџјјјџџџџџџўќќќјѓяпПўўќ}{;ЕжУхіђєњњќўџџџўќјјјјќўџџўќќјјјќќўћљјќўўўќјљћўќјљљјќўџџџџјјџџџџџјјљљљљџџјјџџџќјјљџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџўўўўџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ \ No newline at end of file diff --git a/i3/desktop.conf b/i3/desktop.conf index 97a1fa2..449983e 100644 --- a/i3/desktop.conf +++ b/i3/desktop.conf @@ -3,6 +3,7 @@ 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 @@ -20,11 +21,11 @@ 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 python3 ~/.config/scripts/i3-toggle.sh up; 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 Escape mode "default" bindsym Return mode "default" } -set $g13 G13 Profile: [1] Overwatch [2] Resolve +set $g13 G13 Profile: [1] Overwatch [2] Resolve [3] Planet Coaster bindsym $mod+F1 mode "$g13" exec_always --no-startup-id g13d --config ~/.config/g13/resolve.bind --logo ~/.config/g13/resolve.lpbm & @@ -35,19 +36,23 @@ exec --no-startup-id sh ~/.config/scripts/system-start-audio.sh for_window [title="Google Play Music Desktop Player"] move to workspace $ws10 # Starting Overwatch -for_window [class="Wine" title="Overwatch"] move to workspace $ws4 +for_window [class="Wine" title="Overwatch"] move to workspace $wsGames for_window [class="Wine" 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="Wine" title="Blizzard Battle.net"] move to workspace $ws4 +for_window [class="Wine" 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 $ws4 +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 $ws4 +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 + # 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 @@ -57,7 +62,7 @@ bindsym $mod+/ gaps inner current set 0; gaps outer current set 0 for_window [class="REAPER"] move to workspace $wsReaper # Steam -for_window [class="^Steam$"] move to workspace $ws4 +for_window [class="^Steam$"] move to workspace $wsGames # Bitwig assign [class="^Show-splash-gtk$"] $wsBitwig diff --git a/i3/shared.conf b/i3/shared.conf index b38614f..cabea44 100644 --- a/i3/shared.conf +++ b/i3/shared.conf @@ -93,6 +93,7 @@ set $ws10 "10" set $wsResolve "11" set $wsReaper "12" set $wsBitwig "13" +set $wsGames "14" # switch to workspace bindsym $mod+1 workspace $ws1