Update nwg-panel default

This commit is contained in:
natemaia
2021-12-31 14:02:59 -08:00
parent 8aaeaa0ac6
commit 9103b0c0b0
2 changed files with 202 additions and 276 deletions

View File

@ -4,6 +4,7 @@
# border & title
for_window [class="^.*"] border pixel 1, title_format "<b> %class >> %title </b>"
default_border pixel 1
# gaps
gaps inner 8
@ -64,10 +65,10 @@ bindswitch lid:off output $laptop enable
### Idle configuration
exec swayidle -w \
timeout 3000 'swaylock -f -c 000000' \
timeout 3000 'swaylock -f -c 212121' \
timeout 3300 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f -c 000000'
before-sleep 'swaylock -f -c 212121'
#
# This will lock your screen after 3000 seconds of inactivity, then turn off
# your displays after another 3300 seconds, and turn your screens back on when
@ -85,18 +86,26 @@ exec swayidle -w \
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section.
# enable touchpad speed and features
input "type:touchpad" {
tap enabled
dwt enabled
drag enabled
scroll_factor 0.7
pointer_accel 0.5
pointer_accel 0.2
accel_profile adaptive
}
# disable acceleration for mice
input "type:mouse" {
accel_profile flat
}
# keyboard layout
# keyboard layout and repeat settings
input "type:keyboard" {
xkb_layout $lang
repeat_delay 300
repeat_rate 70
}
# numlock on/off
@ -115,7 +124,7 @@ bindsym Mod1+F1 exec $launcher
# core
bindsym $Mod+Return exec $term
bindsym Mod4+Shift+Return exec $term
bindsym Mod1+Shift+Return exec $term
bindsym Control+Shift+t exec $term
bindsym $Mod+t exec $term
bindsym $Mod+w exec $browser
@ -294,8 +303,6 @@ bindsym $Mod+Shift+f fullscreen
############### Border & Gaps ###############
hide_edge_borders both
# changing border style
bindsym $Mod+n border normal
bindsym $Mod+y border pixel 1