i3 + scren
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
2
.config/screenlayout/desktop-dota.sh
Executable file
2
.config/screenlayout/desktop-dota.sh
Executable file
@@ -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
|
||||
Reference in New Issue
Block a user