feat: color picker + switch language by Alt+Shift

This commit is contained in:
2025-10-04 23:45:33 +02:00
parent cdc6fc693a
commit 6c108fcae1

View File

@ -36,6 +36,8 @@ client.focused "#2c2c2c" "#212121" "#fefefe" "#ffffff" "#2c2c2c"
# #
# 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
output DP-2 mode 2560x1440@165.001Hz
### Idle configuration ### Idle configuration
# #
# Example configuration: # Example configuration:
@ -77,7 +79,7 @@ input type:touchpad {
# Set keyboard layouts # Set keyboard layouts
input "type:keyboard" { input "type:keyboard" {
xkb_layout us,ru xkb_layout us,ru
xkb_options grp:win_space_toggle xkb_options grp:alt_shift_toggle
} }
# input "2:14:SynPS/2_Synaptics_TouchPad" { # input "2:14:SynPS/2_Synaptics_TouchPad" {
@ -101,6 +103,9 @@ input "type:keyboard" {
# Start your launcher # Start your launcher
bindsym $mod+d exec $menu bindsym $mod+d exec $menu
# Color Picker
bindsym $mod+c exec grim -g "$(slurp -p)" -t ppm - | convert - -format "%[pixel:p{0,0}]" txt:- | tail -n 1 | cut -d " " -f 4 | wl-copy
# Drag floating windows by holding down $mod and left mouse button. # Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod. # Resize them with right mouse button + $mod.
# Despite the name, also works for non-floating windows. # Despite the name, also works for non-floating windows.