sway cfg: minor improvements
This commit is contained in:
parent
edad798ad7
commit
c9dd46b7cb
@ -10,6 +10,7 @@ set {
|
||||
$up k
|
||||
$right l
|
||||
$term kitty
|
||||
$browser firefox
|
||||
#$menu rofi -show drun -icon-theme "Papirus-Dark" -show-icons | xargs swaymsg exec --
|
||||
$menu wofi --show drun | xargs swaymsg exec --
|
||||
$runmenu wofi --show run | xargs swaymsg exec --
|
||||
@ -17,7 +18,7 @@ set {
|
||||
$gtk_theme "Matcha-dark-azul"
|
||||
$icon_theme "Papirus-Dark"
|
||||
$bg ~/Pictures/drain.jpg
|
||||
$lockscreen exec '~/.local/bin/lockscreen'
|
||||
$lockscreen '~/.local/bin/lockscreen'
|
||||
#$lockscreen 'swaylock --screenshots --clock --indicator --indicator-radius 100 --indicator-thickness 10 --effect-blur 7x5 --effect-vignette 0.4:0.4 --ring-color bb00cc --key-hl-color 880033 --line-color 00000000 --inside-color 00000088 --separator-color 00000000 --grace 2 --fade-in 0.2'
|
||||
|
||||
# Heads
|
||||
@ -48,8 +49,8 @@ exec_always --no-startup-id {
|
||||
}
|
||||
|
||||
exec_always {
|
||||
swayidle -w timeout 1200 "$lockscreen"\
|
||||
before-sleep "$lockscreen"
|
||||
swayidle -w timeout 1200 $lockscreen\
|
||||
before-sleep $lockscreen
|
||||
}
|
||||
|
||||
#
|
||||
@ -100,6 +101,8 @@ bindsym {
|
||||
#
|
||||
# Start a terminal
|
||||
$mod+Return exec $term
|
||||
# Open a browser window
|
||||
$mod+w exec $browser
|
||||
# Kill focused window
|
||||
$mod+Shift+q kill
|
||||
# Launcher
|
||||
@ -110,7 +113,7 @@ bindsym {
|
||||
# Exit sway (logs you out of your Wayland session)
|
||||
$mod+Shift+e exec wlogout #swaynag -t warning -m 'Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
|
||||
#Lock the session
|
||||
Control+Alt+l $lockscreen
|
||||
Control+Alt+l exec $lockscreen
|
||||
#
|
||||
# Program shortcuts:
|
||||
#
|
||||
@ -178,7 +181,7 @@ bindsym {
|
||||
$mod+v splitv
|
||||
# Switch the current container between different layout styles
|
||||
$mod+s layout stacking
|
||||
$mod+w layout tabbed
|
||||
$mod+Shift+w layout tabbed
|
||||
$mod+e layout toggle split
|
||||
# Make the current focus fullscreen
|
||||
$mod+f fullscreen
|
||||
@ -242,7 +245,7 @@ assign [app_id="evolution"] 11
|
||||
assign [app_id="telegramdesktop"] 11
|
||||
assign [instance="Telegram"] 11
|
||||
assign [app_id="mpv"] 12
|
||||
assign [title="mpv"] 12
|
||||
#assign [title="mpv"] 12
|
||||
|
||||
#
|
||||
### Input
|
||||
@ -297,6 +300,7 @@ for_window [app_id="firefox"] inhibit_idle focus; layout tabbed
|
||||
#
|
||||
# Floating windows
|
||||
#
|
||||
for_window [title="\ -\ Sharing\ Indicator$"] floating enable, sticky enable
|
||||
for_window [class="pop-up"] floating enable; border normal $border
|
||||
for_window [window_role="pop-up"] floating enable; border normal $border
|
||||
for_window [window_role="task_dialog"] floating enable; border normal $border
|
||||
|
Loading…
Reference in New Issue
Block a user