Update
This commit is contained in:
@@ -144,8 +144,6 @@ bindsym $mod+r mode "resize"
|
|||||||
bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5%
|
bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5%
|
||||||
bindsym --locked XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle
|
bindsym --locked XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle
|
||||||
# Special keys to adjust brightness via brightnessctl
|
# 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
|
# Special key to take a screenshot with grim
|
||||||
bindsym Print exec grim
|
bindsym Print exec grim
|
||||||
|
|
||||||
@@ -153,4 +151,6 @@ for_window [shell="xwayland"] title_format "[XWayland] %title"
|
|||||||
|
|
||||||
#xwayland disable
|
#xwayland disable
|
||||||
|
|
||||||
|
#exec waybar
|
||||||
|
|
||||||
include ~/.config/sway/config.d/*
|
include ~/.config/sway/config.d/*
|
||||||
|
|||||||
5
.config/sway/config.d/inputs.conf
Normal file
5
.config/sway/config.d/inputs.conf
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
input 2362:12305:ASUP1208:00_093A:3011_Touchpad {
|
||||||
|
natural_scroll enabled
|
||||||
|
tap enabled
|
||||||
|
pointer_accel 0.5
|
||||||
|
}
|
||||||
@@ -38,3 +38,7 @@ bindsym $mod+Shift+d move right
|
|||||||
|
|
||||||
## Layout management
|
## Layout management
|
||||||
bindsym $mod+tab layout tabbed
|
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%-
|
||||||
|
|||||||
@@ -43,15 +43,5 @@ default_floating_border normal 4
|
|||||||
|
|
||||||
# Status bar
|
# Status bar
|
||||||
bar {
|
bar {
|
||||||
font "JetBrainsMono Nerd Font" "Normal" 22
|
swaybar_command waybar
|
||||||
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
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
"spacing": 4, // Gaps between modules (4px)
|
"spacing": 4, // Gaps between modules (4px)
|
||||||
// Choose the order of the modules
|
// Choose the order of the modules
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"hyprland/workspaces",
|
"sway/workspaces",
|
||||||
],
|
],
|
||||||
"modules-center": [
|
"modules-center": [
|
||||||
"hyprland/window"
|
"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 2> /dev/null" // Script in resources folder
|
||||||
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
|
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
|
||||||
},
|
},
|
||||||
"hyprland/workspaces": {
|
|
||||||
"active-only": true,
|
|
||||||
"all-outputs": true,
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user