projects
/
~bandali
/
configs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sway: overhaul some bindings
[~bandali/configs]
/
.config
/
sway
/
config
diff --git
a/.config/sway/config
b/.config/sway/config
index
dded332
..
7218b03
100644
(file)
--- a/
.config/sway/config
+++ b/
.config/sway/config
@@
-9,6
+9,7
@@
set $up k
set $right l
set $term urxvt
set $menu rofi -show run -display-run '> ' -display-window ' 🗔 '
set $right l
set $term urxvt
set $menu rofi -show run -display-run '> ' -display-window ' 🗔 '
+set $pass rofi-pass
### Output configuration
#
### Output configuration
#
@@
-44,19
+45,17
@@
exec swayidle \
set $floating_term $term -name floating
for_window [class="URxvt" instance="floating"] floating enable
set $floating_term $term -name floating
for_window [class="URxvt" instance="floating"] floating enable
-set $mode_launch (⏎)urxvt |
(e)macs | iceweasel (a)minb (c)hr (p)riv | ice(C)at
+set $mode_launch (⏎)urxvt |
| (e)macs | (i)cecat/weasel
mode "$mode_launch" {
bindsym Return exec $floating_term, mode "default"
mode "$mode_launch" {
bindsym Return exec $floating_term, mode "default"
+ bindsym p exec $pass, mode "default"
bindsym e exec emacs, mode "default"
bindsym e exec emacs, mode "default"
- bindsym a exec iceweasel -P aminb, mode "default"
- bindsym c exec iceweasel -P chr, mode "default"
- bindsym p exec iceweasel -P chr -private, mode "default"
- bindsym Shift+c exec icecat, mode "default"
# back to normal: Escape, or q
bindsym Escape mode "default"
bindsym q mode "default"
}
# back to normal: Escape, or q
bindsym Escape mode "default"
bindsym q mode "default"
}
+ bindsym $mod+tab mode "$mode_launch"
bindsym XF86Launch1 mode "$mode_launch"
# start a terminal
bindsym XF86Launch1 mode "$mode_launch"
# start a terminal
@@
-67,10
+66,10
@@
mode "$mode_launch" {
bindsym $mod+Shift+q kill
# start your launcher
bindsym $mod+Shift+q kill
# start your launcher
- bindsym $mod+
d
exec $menu
+ bindsym $mod+
space
exec $menu
- #
password manag
er
- bindsym $mod
2+space exec rofi-
pass
+ #
start your launch
er
+ bindsym $mod
+Shift+space exec $
pass
# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.
# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.
@@
-176,13
+175,13
@@
mode "$mode_launch" {
bindsym $mod+f fullscreen
# Toggle sticky-ness of the current (floating) window
bindsym $mod+f fullscreen
# Toggle sticky-ness of the current (floating) window
- bindsym $mod+
$mod2+space
sticky toggle
+ bindsym $mod+
Shift+s
sticky toggle
# Toggle the current focus between tiling and floating mode
# Toggle the current focus between tiling and floating mode
- bindsym $mod+Shift+
space
floating toggle
+ bindsym $mod+Shift+
f
floating toggle
# Swap focus between the tiling area and the floating area
# Swap focus between the tiling area and the floating area
- bindsym $mod+
spac
e focus mode_toggle
+ bindsym $mod+
grav
e focus mode_toggle
# move focus to the parent container
bindsym $mod+a focus parent
# move focus to the parent container
bindsym $mod+a focus parent