Compare commits

..

No commits in common. "af2bfb7032b847bb25a5482310d26cf2a711f70f" and "ea90e4950b8003f78c0cfe42a51c6ae58d29352b" have entirely different histories.

4 changed files with 61 additions and 48 deletions

View File

@ -2,7 +2,6 @@ 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
@ -10,13 +9,18 @@ output * bg ~/.config/sway/wallpapers/mountains.jpg fill
output eDP-1 scale 1.4 output eDP-1 scale 1.4
exec sway-audio-idle-inhibit ### Idle configuration
exec swayidle -w \ #
timeout 10 $lock \ # Example configuration:
timeout 20 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ #
before-sleep $lock # exec swayidle -w \
# timeout 300 'swaylock -f -c 000000' \
bindsym Control+Mod1+l exec $lock # timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
# 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
@ -29,6 +33,19 @@ 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

View File

@ -4,12 +4,11 @@ input "type:touchpad" {
natural_scroll enabled natural_scroll enabled
scroll_factor 0.4 scroll_factor 0.4
dwt disable dwt disable
accel_profile "adaptive" accel_profile "adaptive" # disable mouse acceleration (enabled by default; to set it manually, use "adaptive" instead of "flat")
pointer_accel 0 pointer_accel 0 # set mouse sensitivity (between -1 and 1)
} }
input type:keyboard { input * {
xkb_layout de(nodeadkeys),gr,de(neo) xkb_layout "de"
xkb_options grp:ctrls_toggle,caps:escape xkb_variant "nodeadkeys"
} }

View File

@ -1,7 +1,3 @@
#
# Window Focus
#
set $left h set $left h
set $down j set $down j
set $up k set $up k
@ -17,10 +13,6 @@ 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
@ -31,9 +23,20 @@ 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
# Window Size 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
mode "resize" { mode "resize" {
bindsym $left resize shrink width 10px bindsym $left resize shrink width 10px
@ -51,23 +54,5 @@ 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

View File

@ -16,19 +16,31 @@
"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