swayfx
This commit is contained in:
parent
bd0dd71438
commit
5498ae76fa
|
|
@ -1,5 +1,5 @@
|
||||||
# target title bg text indicator border
|
# target title bg text indicator border
|
||||||
client.focused $pink $base $text $rosewater $pink
|
client.focused $teal $base $text $rosewater $teal
|
||||||
client.focused_inactive $mauve $base $text $rosewater $mauve
|
client.focused_inactive $mauve $base $text $rosewater $mauve
|
||||||
client.unfocused $mauve $base $text $rosewater $mauve
|
client.unfocused $mauve $base $text $rosewater $mauve
|
||||||
client.urgent $peach $base $peach $overlay0 $peach
|
client.urgent $peach $base $peach $overlay0 $peach
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
#
|
#
|
||||||
# Example configuration:
|
# Example configuration:
|
||||||
#
|
#
|
||||||
exec swayidle -w \
|
#exec swayidle -w \
|
||||||
before-sleep 'swaylock -f -c 000000 -i $HOME/Bilder/wallpaper/undertale_sans-wallpaper-2048x1152.jpg'
|
# before-sleep 'swaylock -f -c 000000 -i $HOME/Bilder/wallpaper/undertale_sans-wallpaper-2048x1152.jpg'
|
||||||
# timeout 300 'swaylock -f -c 000000 -i $HOME/Bilder/wallpaper/undertale_sans-wallpaper-2048x1152.jpg' \
|
# timeout 300 'swaylock -f -c 000000 -i $HOME/Bilder/wallpaper/undertale_sans-wallpaper-2048x1152.jpg' \
|
||||||
# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"'
|
# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"'
|
||||||
#
|
#
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,8 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
input "type:keyboard" {
|
input "type:keyboard" {
|
||||||
xkb_layout "de"
|
xkb_layout de,de
|
||||||
xkb_variant "neo"
|
xkb_variant neo,
|
||||||
}
|
}
|
||||||
input "type:touchpad" {
|
input "type:touchpad" {
|
||||||
tap enabled
|
tap enabled
|
||||||
|
|
@ -21,3 +21,5 @@ input "type:touchpad" {
|
||||||
}
|
}
|
||||||
# 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
|
||||||
# Read `man 5 sway-input` for more information about this section.
|
# Read `man 5 sway-input` for more information about this section.
|
||||||
|
|
||||||
|
bindsym $mod+BackSpace input "type:keyboard" xkb_switch_layout next
|
||||||
|
|
|
||||||
|
|
@ -25,8 +25,8 @@
|
||||||
# Exit sway (logs you out of your Wayland session)
|
# Exit sway (logs you out of your Wayland session)
|
||||||
bindsym $mod+Shift+l 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'
|
bindsym $mod+Shift+l 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'
|
||||||
|
|
||||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status
|
||||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
|
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && $refresh_i3status
|
||||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||||
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,5 +12,7 @@ output * bg $HOME/Bilder/wallpaper/undertale_sans-wallpaper-2048x1152.jpg 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
|
||||||
font pango:Hack Nerd Font mono:style=Regular 12
|
font pango:Hack Nerd Font mono:style=Regular 12
|
||||||
|
|
||||||
|
output "LG Electronics LG ULTRAWIDE 510NTJJN1324" resolution 3440x1440
|
||||||
|
output "Mars-Tech Corporation MTC26T42 0x000003E9" resolution --custom 1920x1080
|
||||||
bindswitch --locked --reload lid:on output eDP-1 disable
|
bindswitch --locked --reload lid:on output eDP-1 disable
|
||||||
bindswitch --locked --reload lid:off output eDP-1 enable
|
bindswitch --locked --reload lid:off output eDP-1 enable
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
set $gnome-schema org.gnome.desktop.interface
|
set $gnome-schema org.gnome.desktop.interface
|
||||||
|
|
||||||
exec_always {
|
exec_always {
|
||||||
gsettings set $gnome-schema gtk-theme 'Catppuccin-Macchiato-Standard-Blue-Dark'
|
# gsettings set $gnome-schema gtk-theme 'Catppuccin-Macchii#ato-Standard-Blue-Dark'
|
||||||
#gsettings set $gnome-schema icon-theme 'Your icon theme'
|
gsettings set $gnome-schema icon-theme 'candy-icons-master'
|
||||||
#gsettings set $gnome-schema cursor-theme 'Your cursor Theme'
|
gsettings set $gnome-schema cursor-theme 'Catppuccin-Macchiato-Teal-Cursors'
|
||||||
#gsettings set $gnome-schema font-name 'Your font name'
|
gsettings set $gnome-schema font-name 'Hack Nerd Font 11'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -29,11 +29,33 @@
|
||||||
workspace_layout tabbed
|
workspace_layout tabbed
|
||||||
|
|
||||||
assign [app_id="Alacritty"] 1
|
assign [app_id="Alacritty"] 1
|
||||||
|
assign [instance="google-chrome"] 2
|
||||||
assign [app_id="google-chrome"] 2
|
assign [app_id="google-chrome"] 2
|
||||||
assign [class="jetbrains-studio"] 3
|
assign [class="jetbrains-studio"] 3
|
||||||
|
assign [app_id="blender"] 3
|
||||||
|
assign [instance="freecad"] 3
|
||||||
|
assign [instance="bambu-studio"] 3
|
||||||
assign [app_id="org.gnome.Nautilus"] 4
|
assign [app_id="org.gnome.Nautilus"] 4
|
||||||
|
assign [app_id="mpv"] 5
|
||||||
assign [instance="Mail"] 6
|
assign [instance="Mail"] 6
|
||||||
|
|
||||||
for_window [class="platformer"] floating enable
|
for_window [class="platformer"] floating enable
|
||||||
|
|
||||||
|
# 1. Floating für alle Emulator-Fenster deaktivieren
|
||||||
|
# for_window [class="Emulator"] floating disable
|
||||||
|
|
||||||
|
# 2. Das Hauptfenster (Pixel 9 Display) konfigurieren
|
||||||
|
# Wir suchen nach dem Titel, der den Namen des Geräts enthält
|
||||||
|
for_window [title="Android Emulator - Pixel_9*"] floating disable
|
||||||
|
for_window [title="Android Emulator - Pixel_9*"] move right
|
||||||
|
for_window [title="Android Emulator - Pixel_9*"] resize set width 500 px
|
||||||
|
|
||||||
|
# 3. Die Toolbar konfigurieren
|
||||||
|
# Diese hat meist nur den schlichten Titel "Emulator"
|
||||||
|
# for_window [title="^Emulator$"] move right, resize set width 60 px
|
||||||
|
|
||||||
|
# Optional: Fokus zurück auf das Terminal setzen, falls gewünscht
|
||||||
|
# for_window [class="Emulator"] focus left
|
||||||
|
|
||||||
|
|
||||||
# ext: set ft=swayconfig
|
# ext: set ft=swayconfig
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
|
||||||
|
# In deiner Sway-Konfigurationsdatei (~/.config/sway/config)
|
||||||
|
exec --no-startup-id fcitx5
|
||||||
|
#setenv GTK_IM_MODULE fcitx
|
||||||
|
#setenv QT_IM_MODULE fcitx
|
||||||
|
#setenv XMODIFIERS "@im=fcitx"
|
||||||
|
|
||||||
|
|
@ -0,0 +1,57 @@
|
||||||
|
# # Ecken abrunden
|
||||||
|
# corner_radius 10
|
||||||
|
#
|
||||||
|
# # Schatten
|
||||||
|
# shadows on
|
||||||
|
# shadow_blur_radius 20
|
||||||
|
# shadow_color #00000077
|
||||||
|
#
|
||||||
|
# # Unschärfe (Blur) für transparente Fenster
|
||||||
|
# blur on
|
||||||
|
# blur_xray off
|
||||||
|
## Deaktiviert "Smart Gaps" (damit Lücken immer da sind)
|
||||||
|
smart_gaps off
|
||||||
|
|
||||||
|
# Optional: Versteckt die Ränder, wenn nur ein Fenster offen ist
|
||||||
|
smart_borders on
|
||||||
|
|
||||||
|
# Stelle sicher, dass die Werte gesetzt sind
|
||||||
|
gaps inner 10
|
||||||
|
gaps outer 5
|
||||||
|
|
||||||
|
|
||||||
|
### Optik-Tuning
|
||||||
|
# Abgerundete Ecken für alle Fenster
|
||||||
|
corner_radius 12
|
||||||
|
|
||||||
|
# Schatten-Konfiguration
|
||||||
|
shadows on
|
||||||
|
shadow_blur_radius 20
|
||||||
|
shadow_color #000000A0
|
||||||
|
|
||||||
|
# Blur (Unschärfe)
|
||||||
|
# Tipp: Damit das gut aussieht, muss das Terminal/App transparent sein!
|
||||||
|
blur on
|
||||||
|
blur_passes 3
|
||||||
|
blur_radius 7
|
||||||
|
|
||||||
|
# Entferne die hässlichen Standard-Titelleisten
|
||||||
|
# default_border pixel 2 blur_radius 5
|
||||||
|
# # Waybar Hintergrund weichzeichnen
|
||||||
|
# for_window [class="waybar"] blur on
|
||||||
|
# for_window [class="waybar"] opacity 0.8
|
||||||
|
|
||||||
|
layer_effects "waybar" {
|
||||||
|
blur enable;
|
||||||
|
blur_xray enable;
|
||||||
|
blur_ignore_transparent enable;
|
||||||
|
shadows enable;
|
||||||
|
corner_radius 12;
|
||||||
|
}
|
||||||
|
default_dim_inactive 0.4
|
||||||
|
|
||||||
|
|
||||||
|
titlebar_separator enable
|
||||||
|
|
||||||
|
scratchpad_minimize enable
|
||||||
|
|
||||||
|
|
@ -22,11 +22,11 @@
|
||||||
"sway/workspaces",
|
"sway/workspaces",
|
||||||
],
|
],
|
||||||
"modules-center": [
|
"modules-center": [
|
||||||
"sway/window"
|
"sway/window",
|
||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"network",
|
"network",
|
||||||
//"custom/keyboard-layout",
|
"custom/keyboard-layout",
|
||||||
"battery",
|
"battery",
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
"custom/notification",
|
"custom/notification",
|
||||||
|
|
@ -38,6 +38,18 @@
|
||||||
// -------------------------------------------------------------------------
|
// -------------------------------------------------------------------------
|
||||||
// Modules
|
// Modules
|
||||||
// -------------------------------------------------------------------------
|
// -------------------------------------------------------------------------
|
||||||
|
"keyboard-state": {
|
||||||
|
"numlock": true,
|
||||||
|
"capslock": true,
|
||||||
|
"format": {
|
||||||
|
"numlock": "N {icon}",
|
||||||
|
"capslock": "C {icon}"
|
||||||
|
},
|
||||||
|
"format-icons": {
|
||||||
|
"locked": "",
|
||||||
|
"unlocked": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"custom/notification": {
|
"custom/notification": {
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
|
|
@ -75,7 +87,13 @@
|
||||||
"", // Icon: battery-quarter
|
"", // Icon: battery-quarter
|
||||||
"" // Icon: battery-empty
|
"" // Icon: battery-empty
|
||||||
],
|
],
|
||||||
"tooltip": true
|
"tooltip": true,
|
||||||
|
"events": {
|
||||||
|
"on-discharging-warning": "notify-send -u normal 'Low Battery'",
|
||||||
|
"on-discharging-critical": "notify-send -u critical 'Very Low Battery'",
|
||||||
|
"on-charging-99": "notify-send -u normal 'Battery Full!'",
|
||||||
|
"on-discharging-96": "notify-send -u normal 'Battery discharge'",
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
"clock#time": {
|
"clock#time": {
|
||||||
|
|
@ -125,7 +143,8 @@
|
||||||
//"1:www": "龜", // Icon: firefox-browser
|
//"1:www": "龜", // Icon: firefox-browser
|
||||||
"2": "",
|
"2": "",
|
||||||
//"2:mail": "", // Icon: mail
|
//"2:mail": "", // Icon: mail
|
||||||
"3": "",
|
//"3": "",
|
||||||
|
"3":"",
|
||||||
//"3:editor": "", // Icon: code
|
//"3:editor": "", // Icon: code
|
||||||
"4": "",
|
"4": "",
|
||||||
//"4:terminals": "", // Icon: terminal
|
//"4:terminals": "", // Icon: terminal
|
||||||
|
|
@ -133,7 +152,7 @@
|
||||||
//"5:portal": "", // Icon: terminal
|
//"5:portal": "", // Icon: terminal
|
||||||
"6": "",
|
"6": "",
|
||||||
"urgent": "",
|
"urgent": "",
|
||||||
"focused": "",
|
//"focused": "",
|
||||||
"default": "",
|
"default": "",
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -51,8 +51,9 @@
|
||||||
background: rgba(50, 50, 50, 0.7);
|
background: rgba(50, 50, 50, 0.7);
|
||||||
color: white;
|
color: white;
|
||||||
/* font-family: Cantarell, Noto Sans, sans-serif; */
|
/* font-family: Cantarell, Noto Sans, sans-serif; */
|
||||||
font-family: "Hack Nerd Font", "Noto Sans", sans-serif;
|
/* font-family: "Hack Nerd Font", "Noto Sans", sans-serif; */
|
||||||
font-size: 13px;
|
font-family: "Hack Nerd Font";
|
||||||
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Each module */
|
/* Each module */
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,8 @@
|
||||||
@define-color bg2 #494d64;
|
@define-color bg2 #494d64;
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: "JetBrains Mono Nerd Font", monospace;
|
/* font-family: "JetBrains Mono Nerd Font", monospace; */
|
||||||
|
font-family: "Hack Nerd Font";
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue