Compare commits
4 Commits
ea90e4950b
...
af2bfb7032
| Author | SHA1 | Date | |
|---|---|---|---|
| af2bfb7032 | |||
| a79c078b80 | |||
| 0afcfdd7cc | |||
| 8403882027 |
@ -2,6 +2,7 @@ set $mod Mod4
|
|||||||
set $term kitty
|
set $term kitty
|
||||||
# set $menu dmenu_path | wofi --show=run --matching fuzzy | xargs swaymsg exec --
|
# set $menu dmenu_path | wofi --show=run --matching fuzzy | xargs swaymsg exec --
|
||||||
set $menu dmenu_path | wofi --show=run --matching | xargs swaymsg exec --
|
set $menu dmenu_path | wofi --show=run --matching | xargs swaymsg exec --
|
||||||
|
set $lock swaylock --screenshot --effect-blur 10x10 --effect-vignette 0.5:1 --ring-color 3c3836 --key-hl-color d65e0e -f
|
||||||
|
|
||||||
#xwayland disable
|
#xwayland disable
|
||||||
|
|
||||||
@ -9,18 +10,13 @@ output * bg ~/.config/sway/wallpapers/mountains.jpg fill
|
|||||||
|
|
||||||
output eDP-1 scale 1.4
|
output eDP-1 scale 1.4
|
||||||
|
|
||||||
### Idle configuration
|
exec sway-audio-idle-inhibit
|
||||||
#
|
exec swayidle -w \
|
||||||
# Example configuration:
|
timeout 10 $lock \
|
||||||
#
|
timeout 20 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
||||||
# exec swayidle -w \
|
before-sleep $lock
|
||||||
# timeout 300 'swaylock -f -c 000000' \
|
|
||||||
# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
bindsym Control+Mod1+l exec $lock
|
||||||
# before-sleep 'swaylock -f -c 000000'
|
|
||||||
#
|
|
||||||
# This will lock your screen after 300 seconds of inactivity, then turn off
|
|
||||||
# your displays after another 300 seconds, and turn your screens back on when
|
|
||||||
# resumed. It will also lock your screen before your computer goes to sleep.
|
|
||||||
|
|
||||||
bindsym $mod+p exec kitty -e python
|
bindsym $mod+p exec kitty -e python
|
||||||
|
|
||||||
@ -33,19 +29,6 @@ floating_modifier $mod normal
|
|||||||
bindsym $mod+Shift+c reload
|
bindsym $mod+Shift+c reload
|
||||||
bindsym $mod+Shift+e exec --no-startup-id i3-msg exit
|
bindsym $mod+Shift+e exec --no-startup-id i3-msg exit
|
||||||
|
|
||||||
#bar {
|
|
||||||
# position top
|
|
||||||
#
|
|
||||||
# # When the status_command prints a new line to stdout, swaybar updates.
|
|
||||||
# # The default just shows the current date and time.
|
|
||||||
# status_command while date +'%Y-%m-%d %X'; do sleep 1; done
|
|
||||||
#
|
|
||||||
# colors {
|
|
||||||
# statusline #ffffff
|
|
||||||
# background #323232
|
|
||||||
# inactive_workspace #32323200 #32323200 #5c5c5c
|
|
||||||
# }
|
|
||||||
#}
|
|
||||||
bar {
|
bar {
|
||||||
swaybar_command waybar
|
swaybar_command waybar
|
||||||
position top
|
position top
|
||||||
|
|||||||
@ -4,11 +4,12 @@ input "type:touchpad" {
|
|||||||
natural_scroll enabled
|
natural_scroll enabled
|
||||||
scroll_factor 0.4
|
scroll_factor 0.4
|
||||||
dwt disable
|
dwt disable
|
||||||
accel_profile "adaptive" # disable mouse acceleration (enabled by default; to set it manually, use "adaptive" instead of "flat")
|
accel_profile "adaptive"
|
||||||
pointer_accel 0 # set mouse sensitivity (between -1 and 1)
|
pointer_accel 0
|
||||||
}
|
}
|
||||||
|
|
||||||
input * {
|
input type:keyboard {
|
||||||
xkb_layout "de"
|
xkb_layout de(nodeadkeys),gr,de(neo)
|
||||||
xkb_variant "nodeadkeys"
|
xkb_options grp:ctrls_toggle,caps:escape
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,7 @@
|
|||||||
|
#
|
||||||
|
# Window Focus
|
||||||
|
#
|
||||||
|
|
||||||
set $left h
|
set $left h
|
||||||
set $down j
|
set $down j
|
||||||
set $up k
|
set $up k
|
||||||
@ -13,6 +17,10 @@ bindsym $mod+Down focus down
|
|||||||
bindsym $mod+Up focus up
|
bindsym $mod+Up focus up
|
||||||
bindsym $mod+Right focus right
|
bindsym $mod+Right focus right
|
||||||
|
|
||||||
|
#
|
||||||
|
# Window Movement
|
||||||
|
#
|
||||||
|
|
||||||
bindsym $mod+Shift+$left move left
|
bindsym $mod+Shift+$left move left
|
||||||
bindsym $mod+Shift+$down move down
|
bindsym $mod+Shift+$down move down
|
||||||
bindsym $mod+Shift+$up move up
|
bindsym $mod+Shift+$up move up
|
||||||
@ -23,20 +31,9 @@ bindsym $mod+Shift+Down move down
|
|||||||
bindsym $mod+Shift+Up move up
|
bindsym $mod+Shift+Up move up
|
||||||
bindsym $mod+Shift+Right move right
|
bindsym $mod+Shift+Right move right
|
||||||
|
|
||||||
bindsym $mod+b splith
|
#
|
||||||
bindsym $mod+v splitv
|
# Window Size
|
||||||
|
#
|
||||||
bindsym $mod+s layout stacking
|
|
||||||
bindsym $mod+w layout tabbed
|
|
||||||
bindsym $mod+e layout toggle split
|
|
||||||
|
|
||||||
bindsym $mod+f fullscreen
|
|
||||||
|
|
||||||
bindsym $mod+Shift+space floating toggle
|
|
||||||
|
|
||||||
bindsym $mod+space focus mode_toggle
|
|
||||||
|
|
||||||
bindsym $mod+a focus parent
|
|
||||||
|
|
||||||
mode "resize" {
|
mode "resize" {
|
||||||
bindsym $left resize shrink width 10px
|
bindsym $left resize shrink width 10px
|
||||||
@ -54,5 +51,23 @@ mode "resize" {
|
|||||||
}
|
}
|
||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
|
#
|
||||||
|
# WM Behavior
|
||||||
|
#
|
||||||
|
|
||||||
|
bindsym $mod+b splith
|
||||||
|
bindsym $mod+v splitv
|
||||||
|
|
||||||
|
bindsym $mod+s layout stacking
|
||||||
|
bindsym $mod+w layout tabbed
|
||||||
|
bindsym $mod+e layout toggle split
|
||||||
|
|
||||||
|
bindsym $mod+f fullscreen
|
||||||
|
|
||||||
|
bindsym $mod+Shift+space floating toggle
|
||||||
|
bindsym $mod+space focus mode_toggle
|
||||||
|
|
||||||
|
bindsym $mod+a focus parent
|
||||||
|
|
||||||
bindsym $mod+Shift+minus move scratchpad
|
bindsym $mod+Shift+minus move scratchpad
|
||||||
bindsym $mod+minus scratchpad show
|
bindsym $mod+minus scratchpad show
|
||||||
|
|||||||
@ -16,31 +16,19 @@
|
|||||||
"cpu",
|
"cpu",
|
||||||
"battery",
|
"battery",
|
||||||
"disk",
|
"disk",
|
||||||
|
"sway/language",
|
||||||
"tray"
|
"tray"
|
||||||
],
|
],
|
||||||
|
|
||||||
"custom/left-arrow-dark": {
|
|
||||||
"format": "",
|
|
||||||
"tooltip": false
|
|
||||||
},
|
|
||||||
"custom/left-arrow-light": {
|
|
||||||
"format": "",
|
|
||||||
"tooltip": false
|
|
||||||
},
|
|
||||||
"custom/right-arrow-dark": {
|
|
||||||
"format": "",
|
|
||||||
"tooltip": false
|
|
||||||
},
|
|
||||||
"custom/right-arrow-light": {
|
|
||||||
"format": "",
|
|
||||||
"tooltip": false
|
|
||||||
},
|
|
||||||
|
|
||||||
"sway/workspaces": {
|
"sway/workspaces": {
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
"format": "{name}"
|
"format": "{name}"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"sway/language": {
|
||||||
|
"format": "{short} {variant} ",
|
||||||
|
},
|
||||||
|
|
||||||
"clock#1": {
|
"clock#1": {
|
||||||
"format": "{:%a}",
|
"format": "{:%a}",
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user