dotfiles/dot_config/sway/executable_config.tmpl

76 lines
1.6 KiB
Cheetah
Raw Normal View History

### BITTE DIESE DATEI NUR MIT FOLGENDEM BEFEHL BEARBEITEN ###
# chezmoi edit .config/sway/config
2023-01-30 14:28:59 +01:00
set $mod Mod1
2023-05-09 15:17:29 +02:00
# https://man.archlinux.org/man/sway.5.en
# https://wiki.archlinux.org/title/Sway
2023-05-09 15:34:08 +02:00
# https://i3wm.org/docs/userguide.html
2023-05-09 15:17:29 +02:00
# https://github.com/swaywm/sway/wiki
# https://github.com/swayos/swayos.github.io/blob/main/home/.config/sway/config
2023-01-30 14:28:59 +01:00
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
2023-05-30 11:46:05 +02:00
bar {
swaybar_command waybar
}
2023-01-30 14:28:59 +01:00
seat seat0 xcursor_theme capitaine-cursors 16
2023-07-12 19:10:46 +02:00
#
# gaps
#
gaps inner 5
smart_gaps off
#
# Titlebars
#
font pango:"Hack Nerd Font" 9
default_border pixel 3
smart_borders on
default_floating_border normal
hide_edge_borders none
titlebar_border_thickness 0
#
# Below is SwayFX extensions
#
{{- if eq .chezmoi.hostname "SpectreOS" }}
2023-07-12 19:10:46 +02:00
blur on
smart_corner_radius on
corner_radius 10
default_dim_inactive 0.2
2023-08-11 23:18:34 +02:00
{{- end }}
2023-07-12 19:10:46 +02:00
2023-01-30 14:28:59 +01:00
# display resoulution
2023-06-01 09:41:34 +02:00
# machine-specific configuration
{{- if eq .chezmoi.hostname "SpectreOS" }}
2023-09-22 10:06:30 +02:00
output HDMI-A-2 pos 0 0 res 1920x1080
output eDP-1 pos 1920 0 res 1920x1080
2023-06-01 09:41:34 +02:00
{{- end }}
{{- if eq .chezmoi.hostname "SpectreOS-deck" }}
output eDP-1 mode 800x1200 transform 90
2023-06-08 00:10:42 +02:00
input 10248:4117:FTS3528:00_2808:1015 map_to_output eDP-1
2023-06-05 18:10:17 +02:00
exec opensdd
2023-06-01 09:41:34 +02:00
{{- end }}
2023-01-30 14:28:59 +01:00
# background
output "*" background ~/desktop-bilder/background.jpg fill
# springen von Workspace zu workspace mit oder ohne container
2023-09-01 10:09:58 +02:00
workspace_auto_back_and_forth yes
2023-08-31 10:06:24 +02:00
#bindsym $mod+z workspace back_and_forth
#bindsym $mod+Shift+z move container to workspace back_and_forth; workspace back_and_forth
2023-01-30 14:28:59 +01:00
#xwayland disable
include /etc/sway/config.d/*
2023-11-02 08:56:11 +01:00
include ~/.config/sway/modules/*
2023-01-30 14:28:59 +01:00
exec notify-send "loaded" "Welcome to sway."