chore: updated sway config
* explicit wayland command requests (sway) * keybinds additions for when screen is locked * multihead conf updates * background changes * smart gaps off
This commit is contained in:
parent
41faa8f2ca
commit
d89c1cb311
@ -7,22 +7,24 @@ set
|
||||
$right l
|
||||
$lock exec ~/utils/bin/swaylock-wrapper
|
||||
$lockt exec ~/utils/bin/sway-locker -t
|
||||
$term kitty #qterminal alacritty
|
||||
$term KITTY_ENABLE_WAYLAND=1 kitty # qterminal alacritty
|
||||
$menu rofi -show drun
|
||||
# $bg "~/Pictures/apod/2019-October-20-Pluto-at-Night.jpg fill #000000"
|
||||
$numenu kitty --class 'launcher' bash -c 'compgen -c | sort -u | fzf | xargs -r swaymsg -t command exec'
|
||||
$nutermmenu kitty --class 'launcher' bash -c 'compgen -c | sort -u | fzf | xargs -r kitty'
|
||||
# $bg "~/Pictures/apod/2019-January-2-The-Orion-Nebula-in-Infrared-from-WISE.jpg fit #000000"
|
||||
$bg "~/Pictures/apod/2020-April-29-The-Ion-Tail-of-New-Comet-SWAN.jpg fit #000000"
|
||||
# $bg "~/Pictures/apod/2020-April-29-The-Ion-Tail-of-New-Comet-SWAN.jpg fit #000000"
|
||||
$bg "~/Pictures/apod/2020-August-11-Churning-Clouds-on-Jupiter.jpg fill"
|
||||
$bg2 "~/Pictures/apod/2019-October-20-Pluto-at-Night.jpg fill #000000"
|
||||
$gtk_theme "Mint-Y-Dark-Blue"
|
||||
$icon_theme "Flat-Remix-Blue-Dark"
|
||||
$pri eDP-1
|
||||
#$sec HDMI-A-1
|
||||
$sec DP-2
|
||||
}
|
||||
|
||||
default_border pixel 2
|
||||
default_floating_border pixel 2
|
||||
|
||||
smart_gaps on
|
||||
#smart_gaps on
|
||||
gaps outer 8
|
||||
gaps inner 5
|
||||
|
||||
@ -34,8 +36,10 @@ exec_always --no-startup-id
|
||||
pkill waybar
|
||||
pkill swayidle
|
||||
pkill "docker-tray"
|
||||
swaymsg output $pri bg $bg
|
||||
swaymsg output $sec bg $bg2
|
||||
#swaymsg output $ter bg $bg
|
||||
waybar
|
||||
swaymsg output "*" bg $bg
|
||||
dbus-update-activation-environment DISPLAY XAUTHORITY
|
||||
eval $(/usr/bin/gnome-keyring-daemon --start --components=ssh)
|
||||
mako
|
||||
@ -52,6 +56,9 @@ bindsym ctrl+alt+l exec --no-startup-id $lock
|
||||
bindsym $mod+grave exec --no-startup-id $lock
|
||||
bindswitch lid:on exec --no-startup-id $lock
|
||||
output $sec pos 1920 0 res 1920x1200
|
||||
exec --no-startup-id swaymsg output $pri bg $bg
|
||||
exec --no-startup-id swaymsg output $sec bg $bg2
|
||||
exec --no-startup-id swaymsg focus output $pri
|
||||
|
||||
#--- Window Decorations
|
||||
set
|
||||
@ -80,10 +87,16 @@ bindsym
|
||||
$mod+Shift+e exec swaynag -t error -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
|
||||
$mod+Return exec $term
|
||||
$mod+t exec $term
|
||||
$mod+Shift+t exec alacritty
|
||||
$mod+ctrl+Shift+t exec qterminal
|
||||
$mod+Shift+q kill
|
||||
alt+F1 exec $menu
|
||||
alt+F2 exec $numenu
|
||||
alt+Shift+F2 exec $nutermmenu
|
||||
$mod+ctrl+k exec QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_QPA_PLATFORMTHEME=wayland keepassxc
|
||||
$mod+ctrl+t exec telegram-desktop
|
||||
$mod+ctrl+v exec QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_QPA_PLATFORMTHEME=wayland VirtualBox
|
||||
}
|
||||
for_window [app_id="^launcher$"] floating enable, border none, resize set width 25 ppt height 100 ppt, move position 0 px 0 px
|
||||
|
||||
input *
|
||||
{
|
||||
@ -91,7 +104,7 @@ input *
|
||||
xkb_options grp:win_space_toggle,compose:ralt
|
||||
xkb_variant ",qwerty"
|
||||
repeat_delay 280
|
||||
repeat_rate 30
|
||||
repeat_rate 55
|
||||
|
||||
tap enabled
|
||||
natural_scroll enabled
|
||||
@ -159,19 +172,19 @@ bindsym
|
||||
Shift+print exec grim -g "$(slurp)" - | wl-copy
|
||||
$mod+c exec gnome-calculator
|
||||
$mod+n exec nemo
|
||||
$mod+m exec QT_QPA_PLATFORMTHEME=wayland vlc
|
||||
$mod+m exec QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_QPA_PLATFORMTHEME=wayland vlc
|
||||
$mod+Shift+b exec brave-browser-beta --incognito
|
||||
$mod+Shift+w exec MOZ_USE_XINPUT2=1 MOZ_ENABLE_WAYLAND=1 ~/Downloads/firefox-dev/firefox --private-window
|
||||
$mod+Shift+g exec MOZ_USE_XINPUT2=1 MOZ_ENABLE_WAYLAND=1 firefox --private-window
|
||||
$mod+Shift+v exec ferdi
|
||||
$mod+Shift+a exec chromium-freeworld --incognito
|
||||
--locked $mod+Escape exec systemctl suspend -i
|
||||
$mod+Shift+o exec alacritty -e bash -c 'sudo cpupower frequency-set -g powersave;figlet powersave;sleep 2'
|
||||
$mod+Shift+p exec alacritty -e bash -c 'sudo cpupower frequency-set -g performance;figlet performance;sleep 2'
|
||||
--locked $mod+ctrl+Shift+s exec alacritty -e bash -c 'sudo dell-bios-fan-control 0;sudo i8kfan 0 0'
|
||||
--locked $mod+ctrl+Shift+d exec alacritty -e bash -c 'sudo dell-bios-fan-control 0;sudo i8kfan 0 1'
|
||||
--locked $mod+ctrl+Shift+f exec alacritty -e bash -c 'sudo dell-bios-fan-control 0;sudo i8kfan 0 2'
|
||||
--locked $mod+ctrl+Shift+b exec alacritty -e bash -c 'sudo dell-bios-fan-control 1'
|
||||
$mod+Shift+o exec kitty bash -c 'sudo cpupower frequency-set -g powersave;figlet powersave;sleep 2'
|
||||
$mod+Shift+p exec kitty bash -c 'sudo cpupower frequency-set -g performance;figlet performance;sleep 2'
|
||||
--locked $mod+ctrl+Shift+s exec kitty bash -c 'sudo dell-bios-fan-control 0;sudo i8kfan 0 0'
|
||||
--locked $mod+ctrl+Shift+d exec kitty bash -c 'sudo dell-bios-fan-control 0;sudo i8kfan 0 1'
|
||||
--locked $mod+ctrl+Shift+f exec kitty bash -c 'sudo dell-bios-fan-control 0;sudo i8kfan 0 2'
|
||||
--locked $mod+ctrl+Shift+b exec kitty bash -c 'sudo dell-bios-fan-control 1'
|
||||
$mod+ctrl+Shift+a exec ~/.local/bin/keepmenu
|
||||
}
|
||||
|
||||
@ -303,6 +316,16 @@ workspace 16 output $sec
|
||||
workspace 17 output $sec
|
||||
workspace 18 output $sec
|
||||
workspace 19 output $sec
|
||||
workspace 20 output $ter
|
||||
workspace 21 output $ter
|
||||
workspace 22 output $ter
|
||||
workspace 23 output $ter
|
||||
workspace 24 output $ter
|
||||
workspace 25 output $ter
|
||||
workspace 26 output $ter
|
||||
workspace 27 output $ter
|
||||
workspace 28 output $ter
|
||||
workspace 29 output $ter
|
||||
|
||||
#
|
||||
# Layout stuff:
|
||||
|
Loading…
Reference in New Issue
Block a user