nowe podejście

This commit is contained in:
2022-04-19 17:56:00 +02:00
parent 8c1b3b2423
commit 060b2022d2
25 changed files with 397 additions and 83 deletions

View File

@ -1,12 +1,23 @@
# Define names for workspaces
set $ws1 "1: terminal "
set $ws2 "2: web "
set $ws3 "3: code "
set $ws1 "1: .>"
set $ws2 "2: (web)"
set $ws3 "3: (work)"
set $ws4 "4: (frontend)"
set $ws5 "5: (debug)"
set $ws9 "9: (music)"
set $ws10 "10: (mail)"
workspace 1 output eDP-1
workspace 2 output eDP-1
workspace 1 output eDP1
workspace 2 output eDP1
workspace 3 output DP-3
workspace 4 output DP-3
workspace 5 output DP-4
workspace 10 output eDP-1

View File

@ -12,5 +12,9 @@ for_window [class="zoom"] move scratchpad, floating enable
for_window [class="Signal"] move scratchpad
for_window [class="pavucontrol"] floating enable
for_window [app_id="zenity"] floating enable
for_window [app_id="gnome-calendar"] floating enable
for_window [class="Joplin"] move scratchpad, floating enable

View File

@ -141,6 +141,8 @@ bindsym $mod+r mode "resize"
## Lock screen
bindsym $mod+z exec ~/.config/sway/bin/lock.sh
bindsym Shift+$mod+b exec rofi-buku
## Screenshot // Screenshot active display // <Print> ##
#bindsym Print exec $BIN_DIR/screenshots.sh display
#bindsym --locked Print exec grim -o "$(swaymsg --type get_outputs --raw | jq -r '.[] | select(.focused) | .name')" - | swappy -f -
@ -208,4 +210,4 @@ bindsym $mod+u exec env RUST_BACKTRACE=1 swayr switch-window >> /tmp/swayr.log 2
bindsym $mod+Tab exec env RUST_BACKTRACE=1 swayr switch-to-urgent-or-lru-window >> /tmp/swayr.log 2>&1
bindsym $mod+$alt+Space exec env RUST_BACKTRACE=1 swayr switch-workspace-or-window >> /tmp/swayr.log 2>&1
bindsym $mod+$alt+Space exec env RUST_BACKTRACE=1 swayr switch-workspace-or-window >> /tmp/swayr.log 2>&1

View File

@ -1,4 +1,4 @@
exec --no-startup-id swaymsg 'workspace 1; exec $TERMINAL; workspace 2; exec brave;'
exec --no-startup-id swaymsg 'workspace number 1; exec alacritty; workspace number 10; exec thunderbird; workspace number 9; exec spotify; workspace number 2; exec brave'
exec wl-paste -t text --watch clipman store
exec nm-applet --indicator
@ -13,5 +13,14 @@ exec_always {
gsettings set org.gnome.desktop.wm.preferences button-layout ''
}
exec --no-startup-id swaymsg rename workspace number 1 to $ws1
exec --no-startup-id swaymsg rename workspace number 2 to $ws2
exec --no-startup-id swaymsg rename workspace number 3 to $ws3
exec --no-startup-id swaymsg rename workspace number 4 to $ws4
exec --no-startup-id swaymsg rename workspace number 5 to $ws5
exec --no-startup-id swaymsg rename workspace number 9 to $ws9
exec --no-startup-id swaymsg rename workspace number 10 to $ws10
exec ~/.config/sway/bin/session.sh
#exec ~/.config/sway/bin/assign-cgroups.py