nie wiem co zmieniałem, a dużo tego było
This commit is contained in:
		| @@ -2,7 +2,7 @@ | ||||
|  | ||||
| ## Shows a dropdown menu to start, stop or view the status of screensharing | ||||
|  | ||||
| case "$(echo -e " Start\n Stop\n Status" | bemenu-run.sh -l 4 -p "Screensharing:")" in | ||||
| case "$(echo -e " Start\n Stop\n Status" | rofi --show window  -p "Screensharing:")" in | ||||
| " Start") screenshare.sh ;; | ||||
| " Stop") screenshare.sh stop ;; | ||||
| " Status") screenshare.sh is-recording ;; | ||||
|   | ||||
| @@ -23,4 +23,4 @@ fi | ||||
| swaymsg -t subscribe '["shutdown"]' | ||||
|  | ||||
| systemctl --user stop "$SESSION_TARGET" | ||||
| systemctl --user unset-environment $VARIABLES | ||||
| #systemctl --user unset-environment $VARIABLES | ||||
|   | ||||
| @@ -16,6 +16,7 @@ set $down j | ||||
| set $up k | ||||
| set $right l | ||||
| # Your preferred terminal emulator | ||||
| # set $term foot | ||||
| set $term alacritty | ||||
| # Your preferred application launcher | ||||
| # Note: pass the final command to swaymsg so that the resulting window can be opened | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| #for_window [class="^.*"] title_format "%title [%class]" | ||||
| #for_window [class="^.*"] border pixel 0 | ||||
| for_window [class="Telegram"] move scratchpad, border pixel 1 | ||||
| for_window [app_id="(.*)Telegram(.*)"] resize set 900 600, move scratchpad, border pixel 1 | ||||
| for_window [class="Mattermost"] resize set 900 600, move scratchpad, border pixel 1 | ||||
| for_window [class="discord"] move scratchpad, border pixel 1 | ||||
| for_window [window_role="floating"] floating enable | ||||
| @@ -11,3 +11,6 @@ for_window [class="Gnome-calculator"] floating enable | ||||
| for_window [class="zoom"] move scratchpad, floating enable | ||||
| for_window [class="Signal"] move scratchpad | ||||
|  | ||||
| for_window [class="pavucontrol"] floating enable | ||||
|  | ||||
| for_window [class="Joplin"] move scratchpad, floating enable | ||||
| @@ -149,7 +149,7 @@ bindsym --locked Print exec /usr/share/sway/scripts/grimshot --notify save area | ||||
| ## Screenshot // Screenshot current window // <><Print> ## | ||||
| #bindsym $mod+Print exec $BIN_DIR/screenshots.sh window | ||||
| #bindsym $mod+Print exec swaymsg -t get_tree | jq -r '.. | (.nodes? // empty)[] | select(.focused) | .rect | "\(.x),\(.y) \(.width)x\(.height)"' | grim -g - - | swappy -f - | ||||
| bindsym $mod+Print exec /usr/share/sway/scripts/grimshot --notify save active - | swappy -f - | ||||
| bindsym $mod+Print exec /usr/share/sway/scripts/grimshot --notify save output - | swappy -f - | ||||
|  | ||||
| ## Modify // Monitor brightness up // <XF86MonBrightnessUp> ## | ||||
| #bindsym XF86MonBrightnessUp exec light -A 5 | ||||
| @@ -198,7 +198,7 @@ bindsym $mod+p [class="Mattermost"] scratchpad show | ||||
| bindsym $mod+Shift+m [class="Thunderbird"] scratchpad show | ||||
|  | ||||
| bindsym $mod+i exec --no-startup-id rofi -show window -theme /usr/share/rofi-menus-git/themes/appsmenu.rasi | ||||
| bindsym $mod+Shift+o exec --no-startup-id rofi-vpn | ||||
| bindsym $mod+Shift+o exec --no-startup-id ~/.config/rofi/scripts/nmvpnmenu.sh | ||||
| bindsym $mod+o exec --no-startup-id ~/.config/rofi/scripts/sound.sh | ||||
|  | ||||
| bindsym $mod+y exec clipman pick  -t rofi | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| exec --no-startup-id swaymsg 'workspace 1; exec $TERMINAL; workspace 2; exec brave-browser-nightly;' | ||||
| exec --no-startup-id swaymsg 'workspace 1; exec $TERMINAL; workspace 2; exec brave;' | ||||
|  | ||||
| exec wl-paste -t text --watch clipman store | ||||
| exec nm-applet --indicator | ||||
| @@ -13,5 +13,5 @@ exec_always { | ||||
|     gsettings set org.gnome.desktop.wm.preferences button-layout '' | ||||
| } | ||||
|  | ||||
| exec ~/.config/sway/bin/session.sh --with-cleanup | ||||
| exec ~/.config/sway/bin/assign-cgroups.py | ||||
| exec ~/.config/sway/bin/session.sh | ||||
| #exec ~/.config/sway/bin/assign-cgroups.py | ||||
		Reference in New Issue
	
	Block a user