From be23a24852bd776e89ffb01a20bc49bd074057f4 Mon Sep 17 00:00:00 2001 From: pmcc Date: Sun, 8 Jun 2025 19:25:14 -0400 Subject: [PATCH] Update --- .config/sway/config | 4 ++-- .config/sway/config.d/inputs.conf | 5 +++++ .config/sway/config.d/keybinds.conf | 4 ++++ .config/sway/config.d/theme.conf | 12 +----------- .config/waybar/config.jsonc | 6 +----- 5 files changed, 13 insertions(+), 18 deletions(-) create mode 100644 .config/sway/config.d/inputs.conf diff --git a/.config/sway/config b/.config/sway/config index d4ead64..c979090 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -144,8 +144,6 @@ bindsym $mod+r mode "resize" bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5% bindsym --locked XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle # Special keys to adjust brightness via brightnessctl - bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%- - bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+ # Special key to take a screenshot with grim bindsym Print exec grim @@ -153,4 +151,6 @@ for_window [shell="xwayland"] title_format "[XWayland] %title" #xwayland disable +#exec waybar + include ~/.config/sway/config.d/* diff --git a/.config/sway/config.d/inputs.conf b/.config/sway/config.d/inputs.conf new file mode 100644 index 0000000..852e0a5 --- /dev/null +++ b/.config/sway/config.d/inputs.conf @@ -0,0 +1,5 @@ +input 2362:12305:ASUP1208:00_093A:3011_Touchpad { + natural_scroll enabled + tap enabled + pointer_accel 0.5 +} diff --git a/.config/sway/config.d/keybinds.conf b/.config/sway/config.d/keybinds.conf index 3c6c5ce..3010dcf 100644 --- a/.config/sway/config.d/keybinds.conf +++ b/.config/sway/config.d/keybinds.conf @@ -38,3 +38,7 @@ bindsym $mod+Shift+d move right ## Layout management bindsym $mod+tab layout tabbed + +## Laptop +bindsym --locked XF86MonBrightnessUp exec brightnessctl -e4 -n2 -d amdgpu_bl2 set 5%+ +bindsym --locked XF86MonBrightnessDown exec brightnessctl -e4 -n2 -d amdgpu_bl2 set 5%- diff --git a/.config/sway/config.d/theme.conf b/.config/sway/config.d/theme.conf index 4bf02fc..9ce1063 100644 --- a/.config/sway/config.d/theme.conf +++ b/.config/sway/config.d/theme.conf @@ -43,15 +43,5 @@ default_floating_border normal 4 # Status bar bar { - font "JetBrainsMono Nerd Font" "Normal" 22 - position top - colors { - statusline $text - background $surface0 - separator $overlay0 - inactive_workspace $surface1 $surface0 $text - active_workspace $surface2 $surface0 $text - focused_workspace $peach $surface0 $text - urgent_workspace $red $surface0 $text - } + swaybar_command waybar } diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index b84985b..597d676 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -7,7 +7,7 @@ "spacing": 4, // Gaps between modules (4px) // Choose the order of the modules "modules-left": [ - "hyprland/workspaces", + "sway/workspaces", ], "modules-center": [ "hyprland/window" @@ -152,8 +152,4 @@ "exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder // "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name }, - "hyprland/workspaces": { - "active-only": true, - "all-outputs": true, - } }