update config

This commit is contained in:
2025-11-23 11:42:35 +01:00
parent fab7d2f157
commit 91df449304
73 changed files with 8450 additions and 338 deletions

View File

@@ -16,19 +16,31 @@ set $right l
# Your preferred terminal emulator
set $term alacritty
# Your preferred application launcher
set $menu wmenu-run
set $gtk_theme Adwaita:dark
set $icon_theme Papirus-Dark
# Also for apps launched outside GSettings
# setenv GTK_THEME $gtk_theme
set $menu walker
include /etc/sway/config-vars.d/*
include /etc/sway/config.d/*
font pango:AdwaitaSans Regular 10
default_border none
# for_window [tiling] border none
for_window [floating] border normal
for_window [app_id="dev.benz.walker"] border none
for_window [app_id="dev.benz.walker"] floating enable
for_window [app_id="discord"] border none
for_window [window_role="pop-up"] floating enable
for_window [window_role="About"] floating enable
client.focused "#2c2c2c" "#212121" "#fefefe" "#ffffff" "#2c2c2c"
gaps inner 5
gaps outer 1
### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
@@ -43,7 +55,15 @@ client.focused "#2c2c2c" "#212121" "#fefefe" "#ffffff" "#2c2c2c"
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
output DP-2 mode 2560x1440@165.001Hz
output DP-2 {
mode 2560x1440@60Hz
position 1920 0
}
output eDP-2 {
mode 1920x1080@165.010Hz
position 0 0
}
### Idle configuration
#
@@ -58,7 +78,15 @@ output DP-2 mode 2560x1440@165.001Hz
# 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.
exec systemctl --user import-environment
exec systemctl --user start xdg-desktop-portal
exec systemctl --user start xdg-desktop-portal-wlr
exec swayosd-server
exec wl-paste -t text --watch clipman store --no-persist
exec elephant
exec walker --gapplication-service
exec swaync
### Input configuration
#
@@ -97,7 +125,9 @@ input "type:keyboard" {
# }
exec_always {
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
export __GL_SYNC_TO_VBLANK=1
export __GL_SYNC_DISPLAY_DEVICE="DP-2"
}
### Key bindings
@@ -128,6 +158,10 @@ exec_always {
# Exit sway (logs you out of your Wayland session)
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
# Notifications
bindsym $mod+Shift+n exec swaync-client -t -sw
#
# Moving around:
#
@@ -244,10 +278,12 @@ bindsym $mod+r mode "resize"
# Utilities:
#
# Special keys to adjust volume via PulseAudio
bindsym --locked XF86AudioMute exec amixer set Master toggle && swayosd-client --output-volume mute-toggle
# bindsym --locked XF86AudioMute exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle && swayosd-client --output-volume mute-toggle
bindsym --locked XF86AudioMute exec swayosd-client --output-volume mute-toggle
bindsym --locked XF86AudioLowerVolume exec amixer set Master 5%- && swayosd-client --output-volume lower
bindsym --locked XF86AudioRaiseVolume exec amixer set Master 5%+ && swayosd-client --output-volume raise
bindsym --locked XF86AudioMicMute exec amixer set Capture toggle && swayosd-client --input-volume mute-toggle
bindsym --locked XF86AudioMicMute exec swayosd-client --input-volume mute-toggle
# bindsym --locked XF86AudioMicMute exec amixer set Capture toggle && swayosd-client --input-volume mute-toggle
bindsym --locked XF86AudioPlay exec playerctl play-pause
bindsym --locked XF86AudioNext exec playerctl next
bindsym --locked XF86AudioPrev exec playerctl previous
@@ -258,20 +294,7 @@ bindsym $mod+r mode "resize"
# Special key to take a screenshot with grim
bindsym Print exec grim
#
# Status Bar:
#
# Read `man 5 sway-bar` for more information about this section.
bar {
position bottom
status_command $HOME/.local/bin/swaystatus
# status_command ~/dev/probe/swaystatus/swaystatus
colors {
statusline #ffffff
background #181818
inactive_workspace #32323200 #32323200 #5c5c5c
}
swaybar_command waybar
}