my_konfig
This commit is contained in:
@@ -34,6 +34,7 @@ set $lock swaylock -f -c 000000
|
||||
|
||||
# Schriftart für Fenstertitel
|
||||
font pango:DejaVu Sans Mono 12
|
||||
default_border pixel 2
|
||||
|
||||
# Home-Row-Richtungstasten (wie in Vim)
|
||||
set $left h
|
||||
@@ -44,15 +45,14 @@ set $right l
|
||||
# =============================================================================
|
||||
# Ausgabekonfiguration (Monitore & Hintergrund)
|
||||
# =============================================================================
|
||||
# Standard-Hintergrundbild
|
||||
# Standard-Hintergrundbild (ersetzt durch swww)
|
||||
output * bg ~/Bilder/wallpapersden.com_astronaut-with-jellyfish_2560x1440.jpg fill
|
||||
|
||||
# Gaps (Lücken zwischen Fenstern)
|
||||
# Alte Konfiguration auskommentiert:
|
||||
# gaps inner 10
|
||||
# gaps outer 5
|
||||
gaps inner 10
|
||||
gaps outer 5
|
||||
gaps outer 0
|
||||
smart_gaps on
|
||||
|
||||
#
|
||||
@@ -74,9 +74,9 @@ floating_modifier $mod normal
|
||||
# Tastenkombinationen (Key Bindings)
|
||||
# =============================================================================
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# -----------------------------------------------------------------------------
|
||||
# Grundlegende Aktionen
|
||||
# -----------------------------------------------------------------------------
|
||||
# -----------------------------------------------------------------------------
|
||||
# Terminal starten
|
||||
bindsym $mod+Return exec $term
|
||||
|
||||
@@ -95,9 +95,9 @@ bindsym $mod+Shift+e exec swaynag -t warning -m 'Möchtest du Sway wirklich been
|
||||
# Bildschirm sperren
|
||||
bindsym $mod+l exec $lock
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# -----------------------------------------------------------------------------
|
||||
# Fenster-Fokus bewegen
|
||||
# -----------------------------------------------------------------------------
|
||||
# -----------------------------------------------------------------------------
|
||||
# Fokus mit Pfeiltasten bewegen
|
||||
bindsym $mod+Left focus left
|
||||
bindsym $mod+Down focus down
|
||||
@@ -106,18 +106,18 @@ bindsym $mod+Right focus right
|
||||
# Fokus innerhalb eines gestapelten/getabbten Containers wechseln
|
||||
bindsym $mod+Tab focus child
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# -----------------------------------------------------------------------------
|
||||
# Aktives Fenster verschieben
|
||||
# -----------------------------------------------------------------------------
|
||||
# -----------------------------------------------------------------------------
|
||||
# Fenster mit Pfeiltasten verschieben
|
||||
bindsym $mod+Shift+Left move left
|
||||
bindsym $mod+Shift+Down move down
|
||||
bindsym $mod+Shift+Up move up
|
||||
bindsym $mod+Shift+Right move right
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# -----------------------------------------------------------------------------
|
||||
# Arbeitsbereiche (Workspaces)
|
||||
# -----------------------------------------------------------------------------
|
||||
# -----------------------------------------------------------------------------
|
||||
# Zu einem Arbeitsbereich wechseln
|
||||
bindsym $mod+1 workspace $ws1
|
||||
bindsym $mod+2 workspace $ws2
|
||||
@@ -167,9 +167,9 @@ bindsym $mod+Shift+0 move container to workspace $ws10
|
||||
# bindsym $mod+Shift+9 move container to workspace number 9
|
||||
# bindsym $mod+Shift+0 move container to workspace number 10
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# -----------------------------------------------------------------------------
|
||||
# Fenster-Layout
|
||||
# -----------------------------------------------------------------------------
|
||||
# -----------------------------------------------------------------------------
|
||||
# Fenster horizontal teilen
|
||||
bindsym $mod+b splith
|
||||
# Fenster vertikal teilen
|
||||
@@ -189,18 +189,18 @@ bindsym $mod+Shift+space floating toggle
|
||||
# Fokus zwischen "tiling" und "floating" Bereich wechseln
|
||||
bindsym $mod+space focus mode_toggle
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# -----------------------------------------------------------------------------
|
||||
# Scratchpad (Ein "Versteck" für Fenster)
|
||||
# -----------------------------------------------------------------------------
|
||||
# -----------------------------------------------------------------------------
|
||||
# Aktives Fenster ins Scratchpad verschieben
|
||||
bindsym $mod+Shift+minus move scratchpad
|
||||
|
||||
# Fenster aus dem Scratchpad holen/verstecken
|
||||
bindsym $mod+minus scratchpad show
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# -----------------------------------------------------------------------------
|
||||
# Modus: Fenstergröße ändern
|
||||
# -----------------------------------------------------------------------------
|
||||
# -----------------------------------------------------------------------------
|
||||
mode "resize" {
|
||||
# Fenstergröße mit Pfeiltasten ändern
|
||||
bindsym Left resize shrink width 10px
|
||||
@@ -259,12 +259,20 @@ bindsym Shift+Print exec grim -g "$(slurp)" ~/Bilder/screenshot-$(date +%Y%m%d-%
|
||||
# =============================================================================
|
||||
# Autostart-Anwendungen
|
||||
# =============================================================================
|
||||
exec waybar
|
||||
# Startet den Wallpaper-Manager
|
||||
# exec mpvpaper -o "loop" DP-3 /home/jonnybravo/Bilder/270983_large.mp4
|
||||
|
||||
# exec waybar # Original command commented out
|
||||
exec sleep 1 && waybar # Start Waybar with a 1-second delay
|
||||
exec mako --config ~/.config/mako/config
|
||||
# Startet den Display-Manager für automatische Profile
|
||||
exec kanshi
|
||||
# Startet einen Clipboard-Manager (clipman muss installiert sein)
|
||||
exec wl-paste --watch clipman store
|
||||
# Startet udiskie für Automounting
|
||||
exec udiskie &
|
||||
# Startet das Skript für die automatische Bluetooth-Verbindung
|
||||
exec /home/jonnybravo/.config/sway/scripts/auto-bluetooth.sh &
|
||||
|
||||
# Alter Code auskommentiert:
|
||||
# # Optional: Startet einen Clipboard-Manager (Zwischenablage-Verlauf)
|
||||
@@ -290,15 +298,19 @@ exec swayidle -w \
|
||||
# Um die 'app_id' oder 'class' eines Fensters herauszufinden, fokussiere es
|
||||
# und führe im Terminal aus: swaymsg -t get_tree
|
||||
#
|
||||
# -----------------------------------------------------------------------------
|
||||
# -----------------------------------------------------------------------------
|
||||
# Spezifische Programme auf Workspaces zuweisen
|
||||
# -----------------------------------------------------------------------------
|
||||
# Brave Browser immer auf Workspace 2 starten
|
||||
for_window [app_id="brave-browser"] move to workspace $ws2
|
||||
# -----------------------------------------------------------------------------
|
||||
# Brave Browser startet auf Workspace 2 (nicht schwebend)
|
||||
for_window [app_id="brave-browser"] move to workspace $ws2
|
||||
# floating enable
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Firefox als schwebendes Fenster
|
||||
for_window [app_id="firefox"] floating enable
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Bestimmte Fenster automatisch schweben lassen
|
||||
# -----------------------------------------------------------------------------
|
||||
# -----------------------------------------------------------------------------
|
||||
# Dialogfenster und Benachrichtigungen
|
||||
for_window [window_type="dialog"] floating enable
|
||||
for_window [window_type="notification"] floating enable
|
||||
@@ -312,4 +324,11 @@ for_window [app_id="systemsettings"] floating enable
|
||||
# Qalculate! (GTK Taschenrechner)
|
||||
for_window [app_id="qalculate-gtk"] floating enable, resize set 400px 600px
|
||||
|
||||
# pulseaudio Einstellungen!
|
||||
for_window [app_id="org.pulseaudio.pavucontrol"] floating enable, resize set 800px 600px
|
||||
|
||||
# VLC als schwebendes Fenster
|
||||
for_window [class="vlc"] floating enable, resize set 800px 450px, position center
|
||||
|
||||
# Thunar als schwebendes Fenster
|
||||
for_window [app_id="thunar"] floating enable, resize set 1000px 700px, position center
|
||||
|
||||
12
config/sway/scripts/auto-bluetooth.sh
Executable file
12
config/sway/scripts/auto-bluetooth.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
# Skript zum automatischen Verbinden von Bluetooth-Geräten beim Start
|
||||
|
||||
# Eine kurze Pause, um sicherzustellen, dass der Bluetooth-Dienst vollständig gestartet ist
|
||||
sleep 10
|
||||
|
||||
# Verwendung eines Here-Dokuments, um Befehle an bluetoothctl zu senden
|
||||
bluetoothctl <<EOF
|
||||
connect 14:3F:A6:26:A8:FC
|
||||
connect AC:80:0A:22:DD:86
|
||||
exit
|
||||
EOF
|
||||
Reference in New Issue
Block a user