diff --git a/.config/i3/config b/.config/i3/config index c080849..e9571da 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -136,9 +136,9 @@ bindsym $mod+a focus parent # Define names for default workspaces for which we configure key bindings later on. # We use variables to avoid repeating the names in multiple places. set $ws1 "1: Whatever" -set $ws2 "2: Browsing" +set $ws2 "2: Social" set $ws3 "3: Development" -set $ws4 "4: Social" +set $ws4 "4: Browsing" set $ws5 "5: Games" set $ws6 "6" set $ws7 "7" @@ -247,6 +247,7 @@ bindsym Control+Mod1+s exec /home/wholteza/.config/passmenu/passmenu bindsym $mod+Shift+p exec arandr bindsym $mod+p exec /home/wholteza/.config/screenlayout/screenmenu.sh bindsym --release Print exec scrot -s /home/wholteza/Screenshots/%Y-%m-%d-%T-screenshot.png +bindsym --release Control+Mod1+i exec scrot -s /home/wholteza/Screenshots/%Y-%m-%d-%T-screenshot.png # border / titlebar title_align center default_border normal @@ -271,21 +272,23 @@ for_window [class="OVPN"] floating enable # Assign to workspaces ## 2: Browsing -assign [class="firefox"] $ws2 -assign [class="Firefox"] $ws2 +#assign [class="firefox"] $ws2 +#assign [class="Firefox"] $ws2 ## 3: Development assign [class="Code"] $ws3 ## 4: Social -assign [class="TelegramDesktop"] $ws4 -assign [class="Caprine"] $ws4 -assign [class="discord"] $ws4 -assign [class="Signal"] $ws4 +assign [class="TelegramDesktop"] $ws2 +assign [class="Caprine"] $ws2 +assign [class="discord"] $ws2 +assign [class="Signal"] $ws2 ## 5: Social assign [class="Moonlight"] $ws5 +assign [class="steam"] $ws5 +assign [class="dota2"] $ws5 ## 9: VPN assign [class="OVPN"] $ws9 ## 10: Terminals -assign [class="Alacritty"] $ws10 +#assign [class="Alacritty"] $ws10 # resize window (you can also use the mouse for that) # mode "project" { # bindsym s exec ~/.config/screenlayout/bepis-steamlink.sh @@ -295,5 +298,6 @@ assign [class="Alacritty"] $ws10 # bindsym $mod+Shift+p mode "default" # } - - +# move focused workspace between monitors +bindsym $mod+Ctrl+greater move workspace to output right +bindsym $mod+Ctrl+less move workspace to output left diff --git a/.config/screenlayout/apply-screen-layout.sh b/.config/screenlayout/apply-screen-layout.sh index 55be28e..6bcee2e 100755 --- a/.config/screenlayout/apply-screen-layout.sh +++ b/.config/screenlayout/apply-screen-layout.sh @@ -2,8 +2,8 @@ hostname=$(/usr/bin/hostname) if [[ $hostname == "bepis" ]]; then - $(~/.config/screenlayout/bepis.sh) + $(~/.config/screenlayout/desktop.sh) elif [[ $hostname == "bepis-laptop" ]]; then - $(~/.config/screenlayout/bepis-laptop.sh) + $(~/.config/screenlayout/laptop.sh) fi diff --git a/.config/screenlayout/desktop-dota.sh b/.config/screenlayout/desktop-dota.sh new file mode 100755 index 0000000..5d4f466 --- /dev/null +++ b/.config/screenlayout/desktop-dota.sh @@ -0,0 +1,2 @@ +#!/bin/sh +xrandr --output DVI-I-0 --off --output DVI-I-1 --off --output HDMI-0 --primary --mode 2560x1440 --rate 99.99 --pos 1200x240 --rotate normal --output DP-0 --mode 1920x1200 --pos 0x0 --rotate left --output DP-1 --off --output DVI-D-0 --off diff --git a/.config/screenlayout/bepis-steamlink.sh b/.config/screenlayout/desktop-steamlink.sh similarity index 100% rename from .config/screenlayout/bepis-steamlink.sh rename to .config/screenlayout/desktop-steamlink.sh diff --git a/.config/screenlayout/bepis.sh b/.config/screenlayout/desktop.sh similarity index 100% rename from .config/screenlayout/bepis.sh rename to .config/screenlayout/desktop.sh diff --git a/.config/screenlayout/bepis-laptop.sh b/.config/screenlayout/laptop.sh similarity index 100% rename from .config/screenlayout/bepis-laptop.sh rename to .config/screenlayout/laptop.sh