Compare commits
3 Commits
eb999bb3eb
...
d453f3a080
| Author | SHA1 | Date |
|---|---|---|
|
|
d453f3a080 | |
|
|
f268277408 | |
|
|
89f65d3e2c |
|
|
@ -26,7 +26,7 @@
|
||||||
;; Choose here if you want to add an angle mod: ZXCVB are shifted to the left.
|
;; Choose here if you want to add an angle mod: ZXCVB are shifted to the left.
|
||||||
;; See https://colemakmods.github.io/ergonomic-mods/angle.html for more details.
|
;; See https://colemakmods.github.io/ergonomic-mods/angle.html for more details.
|
||||||
|
|
||||||
(include defsrc/pc.kbd) ;; PC, standard finger assignment
|
;;(include defsrc/pc.kbd) ;; PC, standard finger assignment
|
||||||
;; (include defsrc/mac.kbd) ;; Mac, standard finger assignment
|
;; (include defsrc/mac.kbd) ;; Mac, standard finger assignment
|
||||||
(include defsrc/pc_anglemod.kbd) ;; PC, ZXCVB are shifted to the left
|
(include defsrc/pc_anglemod.kbd) ;; PC, ZXCVB are shifted to the left
|
||||||
;; (include defsrc/mac_anglemod.kbd) ;; Mac, ZXCVB are shifted to the left
|
;; (include defsrc/mac_anglemod.kbd) ;; Mac, ZXCVB are shifted to the left
|
||||||
|
|
@ -38,9 +38,9 @@
|
||||||
;; `Base` layer: standard or dual keys? (layer-taps, homerow mods?)
|
;; `Base` layer: standard or dual keys? (layer-taps, homerow mods?)
|
||||||
;; If you just want angle mod, you still have to enable the standard base.
|
;; If you just want angle mod, you still have to enable the standard base.
|
||||||
|
|
||||||
(include deflayer/base.kbd) ;; standard keyboard behavior
|
;; (include deflayer/base.kbd) ;; standard keyboard behavior
|
||||||
;; (include deflayer/base_lt.kbd) ;; layer-taps on both thumb keys
|
;; (include deflayer/base_lt.kbd) ;; layer-taps on both thumb keys
|
||||||
;; (include deflayer/base_lt_hrm.kbd) ;; layer-taps + home-row mods
|
(include deflayer/base_lt_hrm.kbd) ;; layer-taps + home-row mods
|
||||||
|
|
||||||
;; Note: not enabling layer-taps here makes the rest of the file useless.
|
;; Note: not enabling layer-taps here makes the rest of the file useless.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -64,6 +64,11 @@ bindsym $mad+Shift+s exec "$HOME/.config/sway/scripts/screentemp toggle; pkill -
|
||||||
# Push-to-talk : maintenir Ctrl+!
|
# Push-to-talk : maintenir Ctrl+!
|
||||||
bindsym Ctrl+exclam exec sh -c "pactl list short sources | cut -f2 | while read -r src; do pactl set-source-mute \"\$src\" 0; done"
|
bindsym Ctrl+exclam exec sh -c "pactl list short sources | cut -f2 | while read -r src; do pactl set-source-mute \"\$src\" 0; done"
|
||||||
bindsym --release Ctrl+exclam exec sh -c "pactl list short sources | cut -f2 | while read -r src; do pactl set-source-mute \"\$src\" 1; done"
|
bindsym --release Ctrl+exclam exec sh -c "pactl list short sources | cut -f2 | while read -r src; do pactl set-source-mute \"\$src\" 1; done"
|
||||||
|
bindsym Ctrl+k exec sh -c "pactl list short sources | cut -f2 | while read -r src; do pactl set-source-mute \"\$src\" 0; done"
|
||||||
|
bindsym --release Ctrl+k exec sh -c "pactl list short sources | cut -f2 | while read -r src; do pactl set-source-mute \"\$src\" 1; done"
|
||||||
|
|
||||||
# Ctrl+Shift+! : mute permanent
|
# Ctrl+Shift+! : mute permanent
|
||||||
bindsym Ctrl+Shift+exclam exec sh -c "pactl list short sources | cut -f2 | while read -r src; do pactl set-source-mute \"\$src\" 0; done"
|
bindsym Ctrl+Shift+exclam exec sh -c "pactl list short sources | cut -f2 | while read -r src; do pactl set-source-mute \"\$src\" 0; done"
|
||||||
|
bindsym Ctrl+Shift+k exec sh -c "pactl list short sources | cut -f2 | while read -r src; do pactl set-source-mute \"\$src\" 0; done"
|
||||||
|
|
||||||
|
bindsym Ctrl+Space exec sh -c "/home/gil/.local/bin/toggleLayout.sh"
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,16 @@
|
||||||
bindsym $mad+agrave workspace $ws10
|
bindsym $mad+agrave workspace $ws10
|
||||||
bindsym $mad+parenright workspace $ws11
|
bindsym $mad+parenright workspace $ws11
|
||||||
bindsym $mad+equal workspace $ws12
|
bindsym $mad+equal workspace $ws12
|
||||||
|
bindsym $mad+1 workspace $ws1
|
||||||
|
bindsym $mad+2 workspace $ws2
|
||||||
|
bindsym $mad+3 workspace $ws3
|
||||||
|
bindsym $mad+4 workspace $ws4
|
||||||
|
bindsym $mad+5 workspace $ws5
|
||||||
|
bindsym $mad+6 workspace $ws6
|
||||||
|
bindsym $mad+7 workspace $ws7
|
||||||
|
bindsym $mad+8 workspace $ws8
|
||||||
|
bindsym $mad+9 workspace $ws9
|
||||||
|
bindsym $mad+0 workspace $ws10
|
||||||
|
|
||||||
# move focused container to workspace
|
# move focused container to workspace
|
||||||
bindsym $mad+Shift+ampersand move container to workspace $ws1
|
bindsym $mad+Shift+ampersand move container to workspace $ws1
|
||||||
|
|
@ -64,6 +74,17 @@
|
||||||
bindsym $mad+Shift+agrave move container to workspace $ws10
|
bindsym $mad+Shift+agrave move container to workspace $ws10
|
||||||
bindsym $mad+Shift+parenright move container to workspace $ws11
|
bindsym $mad+Shift+parenright move container to workspace $ws11
|
||||||
bindsym $mad+Shift+equal move container to workspace $ws12
|
bindsym $mad+Shift+equal move container to workspace $ws12
|
||||||
|
# move focused container to workspace
|
||||||
|
bindsym $mad+Shift+1 move container to workspace $ws1
|
||||||
|
bindsym $mad+Shift+2 move container to workspace $ws2
|
||||||
|
bindsym $mad+Shift+3 move container to workspace $ws3
|
||||||
|
bindsym $mad+Shift+4 move container to workspace $ws4
|
||||||
|
bindsym $mad+Shift+5 move container to workspace $ws5
|
||||||
|
bindsym $mad+Shift+6 move container to workspace $ws6
|
||||||
|
bindsym $mad+Shift+7 move container to workspace $ws7
|
||||||
|
bindsym $mad+Shift+8 move container to workspace $ws8
|
||||||
|
bindsym $mad+Shift+9 move container to workspace $ws9
|
||||||
|
bindsym $mad+Shift+0 move container to workspace $ws10
|
||||||
# Note: workspaces can have any name you want, not just numbers.
|
# Note: workspaces can have any name you want, not just numbers.
|
||||||
# We just use 1-10 as the default.
|
# We just use 1-10 as the default.
|
||||||
# change workspaces
|
# change workspaces
|
||||||
|
|
|
||||||
|
|
@ -6,5 +6,5 @@ if echo "$current" | grep -q "Ergo"; then
|
||||||
swaymsg input type:keyboard xkb_variant basic
|
swaymsg input type:keyboard xkb_variant basic
|
||||||
else
|
else
|
||||||
swaymsg input type:keyboard xkb_layout fr
|
swaymsg input type:keyboard xkb_layout fr
|
||||||
swaymsg input type:keyboard xkb_variant ergol_iso
|
swaymsg input type:keyboard xkb_variant ergol
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue