tofi output fix, open secondary browsers on focused workspace
This commit is contained in:
@ -1,7 +1,8 @@
|
|||||||
# shortcut bindings to app and directions
|
# shortcut bindings to app and directions
|
||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
set $term alacritty
|
set $term alacritty
|
||||||
set $menu tofi-drun | xargs swaymsg exec --
|
# set $menu tofi-drun | xargs swaymsg exec --
|
||||||
|
set $menu tofi_prefix_hack && tofi-drun | xargs swaymsg exec --
|
||||||
|
|
||||||
set $left h
|
set $left h
|
||||||
set $down j
|
set $down j
|
||||||
@ -25,6 +26,8 @@ exec ~/Scripts/ntfy/ntfy_subscribe.sh &
|
|||||||
xwayland force
|
xwayland force
|
||||||
exec xrandr --output DP-2 --primary
|
exec xrandr --output DP-2 --primary
|
||||||
|
|
||||||
|
# set swaysock env to make swaymsg commands accessible for systemd
|
||||||
|
exec --no-startup-id systemctl --user set-environment SWAYSOCK=$SWAYSOCK
|
||||||
|
|
||||||
bar {
|
bar {
|
||||||
id 1
|
id 1
|
||||||
@ -91,13 +94,21 @@ for_window [app_id="in_scratchpad"] move container to scratchpad, focus
|
|||||||
# for_window [class="steam" title="^(?!.*Steam Big Picture Mode).*"] exec "/home/nikita/Scripts/sway/disable_tv_gaming_mode.sh"
|
# for_window [class="steam" title="^(?!.*Steam Big Picture Mode).*"] exec "/home/nikita/Scripts/sway/disable_tv_gaming_mode.sh"
|
||||||
|
|
||||||
|
|
||||||
|
# dont idle screen when any app in fullscreen is open
|
||||||
|
for_window [shell=".*"] inhibit_idle fullscreen
|
||||||
|
# dont idle screen when any steam game is visible
|
||||||
|
for_window [class="steam_app_.*"] inhibit_idle visible
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
assign [app_id="DBeaver"] workspace 22
|
assign [app_id="DBeaver"] workspace 22
|
||||||
assign [class="jetbrains-datagrip"] workspace 23
|
assign [class="jetbrains-datagrip"] workspace 23
|
||||||
assign [app_id="taxsee.im.desktop*"] workspace 24
|
assign [app_id="taxsee.im.desktop*"] workspace 24
|
||||||
|
|
||||||
assign [app_id="Element"] workspace number 25
|
assign [app_id="Element"] workspace number 25
|
||||||
assign [class="Element"] workspace number 25
|
assign [class="Element"] workspace number 25
|
||||||
assign [app_id="librewolf"] workspace number 12
|
|
||||||
|
exec ~/Scripts/sway/browser_workspace_assign.sh
|
||||||
|
|
||||||
# powermenu
|
# powermenu
|
||||||
bindsym --to-code $mod+SHIFT+BackSpace exec ~/Scripts/tofi/powermenu.sh
|
bindsym --to-code $mod+SHIFT+BackSpace exec ~/Scripts/tofi/powermenu.sh
|
||||||
|
|||||||
@ -36,14 +36,21 @@
|
|||||||
"peer-port-random-on-start": false,
|
"peer-port-random-on-start": false,
|
||||||
"peer-socket-tos": "le",
|
"peer-socket-tos": "le",
|
||||||
"pex-enabled": true,
|
"pex-enabled": true,
|
||||||
|
"pidfile": "",
|
||||||
"port-forwarding-enabled": true,
|
"port-forwarding-enabled": true,
|
||||||
"preallocation": 1,
|
"preallocation": 1,
|
||||||
|
"preferred_transports": [
|
||||||
|
"utp",
|
||||||
|
"tcp"
|
||||||
|
],
|
||||||
"prefetch-enabled": true,
|
"prefetch-enabled": true,
|
||||||
|
"proxy_url": null,
|
||||||
"queue-stalled-enabled": true,
|
"queue-stalled-enabled": true,
|
||||||
"queue-stalled-minutes": 30,
|
"queue-stalled-minutes": 30,
|
||||||
"ratio-limit": 2,
|
"ratio-limit": 2.0,
|
||||||
"ratio-limit-enabled": false,
|
"ratio-limit-enabled": false,
|
||||||
"rename-partial-files": false,
|
"rename-partial-files": false,
|
||||||
|
"reqq": 2000,
|
||||||
"rpc-authentication-required": false,
|
"rpc-authentication-required": false,
|
||||||
"rpc-bind-address": "0.0.0.0",
|
"rpc-bind-address": "0.0.0.0",
|
||||||
"rpc-enabled": true,
|
"rpc-enabled": true,
|
||||||
@ -65,15 +72,22 @@
|
|||||||
"script-torrent-done-seeding-filename": "",
|
"script-torrent-done-seeding-filename": "",
|
||||||
"seed-queue-enabled": false,
|
"seed-queue-enabled": false,
|
||||||
"seed-queue-size": 10,
|
"seed-queue-size": 10,
|
||||||
|
"sequential_download": false,
|
||||||
|
"sleep-per-seconds-during-verify": 100,
|
||||||
"speed-limit-down": 100,
|
"speed-limit-down": 100,
|
||||||
"speed-limit-down-enabled": false,
|
"speed-limit-down-enabled": false,
|
||||||
"speed-limit-up": 100,
|
"speed-limit-up": 100,
|
||||||
"speed-limit-up-enabled": false,
|
"speed-limit-up-enabled": false,
|
||||||
"start-added-torrents": true,
|
"start-added-torrents": true,
|
||||||
|
"start_paused": false,
|
||||||
"tcp-enabled": true,
|
"tcp-enabled": true,
|
||||||
"torrent-added-verify-mode": "fast",
|
"torrent-added-verify-mode": "fast",
|
||||||
|
"torrent_complete_verify_enabled": false,
|
||||||
"trash-original-torrent-files": false,
|
"trash-original-torrent-files": false,
|
||||||
"umask": "022",
|
"umask": "022",
|
||||||
"upload-slots-per-torrent": 8,
|
"upload-slots-per-torrent": 8,
|
||||||
"utp-enabled": true
|
"utp-enabled": true,
|
||||||
|
"watch-dir": "",
|
||||||
|
"watch-dir-enabled": false,
|
||||||
|
"watch-dir-force-generic": false
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user