This commit is contained in:
2025-11-23 00:27:02 +02:00
parent 5dab98c7b9
commit c70ad02033
8 changed files with 356 additions and 8 deletions

View File

@@ -75,15 +75,23 @@ output * bg /home/raga/.config/sway/wallpaper.jpg fill
# You can get your output names by running: swaymsg -t get_outputs
# DP-2 is the primary monitor on the left, and DP-1 is on the right.
output HDMI-A-1 {
#output DP-2 {
# mode 2560x1440@60Hz
mode 2560x1440@120Hz
position 0 0
# ECO
# mode 2560x1440@60Hz
# FULL
mode 2560x1440@120Hz
}
output DP-1 {
modeline 586.59 2560 2568 2600 2640 1440 1529 1537 1543 +hsync -vsync
position 2560 0
# ECO
# mode 2560x1440@60Hz
# FULL
modeline 586.59 2560 2568 2600 2640 1440 1529 1537 1543 +hsync -vsync
}
###############################################################################
@@ -106,9 +114,13 @@ exec swayidle -w \
###############################################################################
# Estonian keyboard layout configuration
input type:keyboard {
xkb_layout "ee"
xkb_variant "nodeadkeys"
# input type:keyboard {
# xkb_layout "ee"
# xkb_variant "nodeadkeys"
# }
input * {
xkb_layout "ee,it"
# xkb_options "grp:alt_shift_toggle"
}
# Enable touchpad tap, natural scroll
@@ -159,6 +171,9 @@ floating_modifier $mod normal
# Launcher dialogs
###############################################################################
## Keyboard // Toggle Layout // <Alt><Shift> l ##
bindsym $alt+Shift+L input * xkb_switch_layout next
## Launch // Terminal // <> Enter ##
bindsym $mod+Return exec $term
@@ -211,6 +226,12 @@ bindsym $mod+Shift+s exec systemctl suspend
## Mouse // Enable/Disable Toggle // <><Shift> o ##
bindsym $mod+Shift+o exec /home/raga/repos/linux/sway-new-config/mouse-toggle.sh toggle
## Mouse // Start Autoclicker // <><Shift> a ##
bindsym $mod+Shift+a exec kitty -e /home/raga/repos/linux/sway-new-config/autoclicker.sh
## Mouse // Stop Autoclicker // <> Escape ##
#bindsym Escape exec /home/raga/repos/linux/sway-new-config/autoclicker-stop.sh
###############################################################################
# System Management (Arch Linux alternatives)
###############################################################################
@@ -465,6 +486,7 @@ bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
# Screenshots
bindsym Print exec grim - | swappy -f -
bindsym $mod+Print exec grim -g "$(slurp)" - | swappy -f -
## Modify // Toggle Bar // <> i ##