Dateien nach ".config/sway" hochladen

This commit is contained in:
esche 2023-09-24 21:05:53 +02:00
parent 434e38911e
commit 2b23e2be2c

View file

@ -3,6 +3,7 @@
# Screenshot optimieren, Beispiel: https://github.com/de-arl/slurpshot # Screenshot optimieren, Beispiel: https://github.com/de-arl/slurpshot
# https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate#Hibernation # https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate#Hibernation
Font pango:"Noto Sans" Regular 14
### Variables ### Variables
# Logo key. Use Mod1 for Alt. # Logo key. Use Mod1 for Alt.
@ -14,7 +15,7 @@
set $right d set $right d
# Your preferred terminal emulator # Your preferred terminal emulator
set $term alacritty set $term alacritty
# Design # Colors / Design
set $primary 8d00c4 set $primary 8d00c4
set $highlight c227ff set $highlight c227ff
set $error c40000 set $error c40000
@ -23,10 +24,12 @@
set $border 000000 set $border 000000
set $text ffffff set $text ffffff
set $wallpaper ~/.config/sway/2020-12-21_The-fairy-fir-tree_by-David-Revoy.jpg 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 # 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 $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 -m -2 -l 10 -i -B 1 --tf "#$highlight" --fb "#$backgr" --nb "#$backgr" --hb "#$backgr" --hf "#$highlight" --ab "#$backgr" --bdr "#$border" 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 $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" 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 exec mako --background-color "#$backgr" --text-color "#$text" -c ~/.config/sway/mako.conf
# use "xwayland disable" for pure wayland session # use "xwayland disable" for pure wayland session
exec_always xrandr --output XWAYLAND0 --primary exec_always xrandr --output XWAYLAND0 --primary
exec playerctld daemon
### Output configuration ### Output configuration
output * bg $wallpaper fill output * bg $wallpaper2 fill
# You can get the names of your outputs by running: swaymsg -t get_outputs # You can get the names of your outputs by running: swaymsg -t get_outputs
# more wallpaper are available in /usr/share/backgrounds/sway/ # more wallpaper are available in /usr/share/backgrounds/sway/
@ -55,17 +59,17 @@
### Input configuration ### Input configuration
input * { input type:keyboard {
xkb_model "pc101" xkb_model "pc101"
xkb_layout "de" xkb_layout "de"
xkb_variant "neo" xkb_variant "neo"
} }
# input "2:14:SynPS/2_Synaptics_TouchPad" { input type:touchpad {
# dwt enabled dwt enabled
# tap enabled tap enabled
# natural_scroll enabled natural_scroll enabled
# middle_emulation enabled middle_emulation enabled
# } }
# You can get the names of your inputs by running: swaymsg -t get_inputs # 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 XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
bindsym --locked XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle bindsym --locked XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
# Display controls # Display controls
bindsym --locked XF86MonBrightnessDown exec brightnessctl set -5% bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
bindsym --locked XF86MonBrightnessUp exec brightnessctl set +5% bindsym --locked XF86MonBrightnessUp exec brightnessctl set +5%
# Media player controls (MPRIS) # Media player controls (MPRIS)
bindsym --locked XF86AudioPlay exec playerctl play-pause bindsym --locked XF86AudioPlay exec playerctl play-pause