diff --git a/.config/sway/config b/.config/sway/config index 185345d..fa445eb 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -3,6 +3,7 @@ # Screenshot optimieren, Beispiel: https://github.com/de-arl/slurpshot # https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate#Hibernation +Font pango:"Noto Sans" Regular 14 ### Variables # Logo key. Use Mod1 for Alt. @@ -14,7 +15,7 @@ set $right d # Your preferred terminal emulator set $term alacritty - # Design + # Colors / Design set $primary 8d00c4 set $highlight c227ff set $error c40000 @@ -23,10 +24,12 @@ set $border 000000 set $text ffffff set $wallpaper ~/.config/sway/2020-12-21_The-fairy-fir-tree_by-David-Revoy.jpg - # The default font for sway can be set with font. Better use fontconfig + set $wallpaper2 ~/.config/sway/418263.jpg + # The default font can also be set with fontconfig + Font "Noto Sans" Regular 14 # Your preferred applications - set $launcher bemenu-run -m -2 -l 10 -i -p ▶ -B 1 --tf "#$highlight" --fb "#$backgr" --nb "#$backgr" --hb "#$backgr" --hf "#$highlight" --ab "#$backgr" --bdr "#$border" | xargs swaymsg exec -- - set $menu ~/.config/sway/menu.sh -m -2 -l 10 -i -B 1 --tf "#$highlight" --fb "#$backgr" --nb "#$backgr" --hb "#$backgr" --hf "#$highlight" --ab "#$backgr" --bdr "#$border" + set $launcher bemenu-run --fn 14 -m -2 -l 10 -i -p ▶ -B 1 --tf "#$highlight" --fb "#$backgr" --nb "#$backgr" --hb "#$backgr" --hf "#$highlight" --ab "#$backgr" --bdr "#$border" | xargs swaymsg exec -- + set $menu ~/.config/sway/menu.sh --fn 14 -m -2 -l 10 -i -B 1 --tf "#$highlight" --fb "#$backgr" --nb "#$backgr" --hb "#$backgr" --hf "#$highlight" --ab "#$backgr" --bdr "#$border" set $term alacritty set $lock swaylock -f -e -i "$wallpaper" -s fill --indicator-x-position 100 --ring-color "$primary" --ring-clear-color "$highlight" --ring-ver-color "$lightbackgr" --ring-wrong-color "$error" --inside-color 00000000 --inside-clear-color 00000000 --inside-ver-color 00000000 --inside-wrong-color 00000000 --key-hl-color "$highlight" --bs-hl-color "$error" --text-clear-color "$text" --text-ver-color "$text" --text-wrong-color "$text" --text-caps-lock-color "$text" @@ -37,10 +40,11 @@ exec mako --background-color "#$backgr" --text-color "#$text" -c ~/.config/sway/mako.conf # use "xwayland disable" for pure wayland session exec_always xrandr --output XWAYLAND0 --primary + exec playerctld daemon ### Output configuration - output * bg $wallpaper fill + output * bg $wallpaper2 fill # You can get the names of your outputs by running: swaymsg -t get_outputs # more wallpaper are available in /usr/share/backgrounds/sway/ @@ -55,17 +59,17 @@ ### Input configuration - input * { + input type:keyboard { xkb_model "pc101" xkb_layout "de" xkb_variant "neo" } - # input "2:14:SynPS/2_Synaptics_TouchPad" { - # dwt enabled - # tap enabled - # natural_scroll enabled - # middle_emulation enabled - # } + input type:touchpad { + dwt enabled + tap enabled + natural_scroll enabled + middle_emulation enabled + } # You can get the names of your inputs by running: swaymsg -t get_inputs @@ -108,7 +112,7 @@ bindsym --locked XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle bindsym --locked XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle # Display controls - bindsym --locked XF86MonBrightnessDown exec brightnessctl set -5% + bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%- bindsym --locked XF86MonBrightnessUp exec brightnessctl set +5% # Media player controls (MPRIS) bindsym --locked XF86AudioPlay exec playerctl play-pause