projects
/
~bandali
/
configs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new setup on darrud
[~bandali/configs]
/
.config
/
sway
/
config
diff --git
a/.config/sway/config
b/.config/sway/config
index
e1a421b
..
bea5259
100644
(file)
--- a/
.config/sway/config
+++ b/
.config/sway/config
@@
-9,11
+9,11
@@
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
#
# Default wallpaper (more resolutions are available in __DATADIR__/backgrounds/sway/)
### Output configuration
#
# Default wallpaper (more resolutions are available in __DATADIR__/backgrounds/sway/)
-output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
#
# Example configuration:
#
#
# Example configuration:
#
@@
-21,9
+21,13
@@
output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
#
# 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-1 res 2560x1440 pos 0,0
-# 672 = 1440 - 768
-output LVDS-1 pos 2560,760
+### Input configuration
+
+input "65261:24672:technomancy_Atreus" {
+ repeat_delay 200
+ repeat_rate 45
+ # xkb_options altwin:swap_alt_win
+}
### Idle configuration
### Idle configuration
@@
-40,19
+44,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
@@
-63,10
+65,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.
@@
-90,7
+92,7
@@
mode "$mode_launch" {
bindsym XF86AudioMute exec pamixer --toggle-mute
bindsym XF86AudioMicMute exec pactl set-source-mute 1 toggle
bindsym XF86AudioMute exec pamixer --toggle-mute
bindsym XF86AudioMicMute exec pactl set-source-mute 1 toggle
- bindsym $mod+Shift+apostrophe exec rofi-remmina
.py
# choose remmina connection
+ bindsym $mod+Shift+apostrophe exec rofi-remmina # choose remmina connection
# original sway workspace switch and window move
bindsym $mod+bracketleft workspace prev
# original sway workspace switch and window move
bindsym $mod+bracketleft workspace prev
@@
-172,13
+174,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
@@
-224,7
+226,7
@@
bindsym $mod+Shift+r mode "resize"
# Power button
#
# Power button
#
-set $mode_system System (l)ock
, (e)xit sway, (s)uspend, (h)ibernate, (r)eboot,
(S)hutdown
+set $mode_system System (l)ock
| (e)xit sway | (s)uspend | (h)ibernate | (r)eboot |
(S)hutdown
mode "$mode_system" {
bindsym l exec swaylock, mode "default"
bindsym e exec swaymsg exit, mode "default"
mode "$mode_system" {
bindsym l exec swaylock, mode "default"
bindsym e exec swaymsg exit, mode "default"
@@
-240,6
+242,7
@@
mode "$mode_system" {
}
# bindsym XF86PowerOff mode "$mode_system"
bindsym $mod+Shift+e mode "$mode_system"
}
# bindsym XF86PowerOff mode "$mode_system"
bindsym $mod+Shift+e mode "$mode_system"
+bindsym XF86ScreenSaver exec swaylock
#
# Presentation mode
#
# Presentation mode
@@
-265,14
+268,15
@@
mode notifications {
# Screenshotting
#
# Screenshotting
#
-bindsym $mod+Shift+s mode screenshot
-mode
screenshot
{
+set $mode_screenshot (a)ll | (r)egion
+mode
"$mode_screenshot"
{
bindsym a exec grim $(xdg-user-dir PICTURES)/shots/$(date +'%Y-%m-%d-%H%M%S.png'); mode default
bindsym a exec grim $(xdg-user-dir PICTURES)/shots/$(date +'%Y-%m-%d-%H%M%S.png'); mode default
- bindsym r exec
slurp | grim -g -
$(xdg-user-dir PICTURES)/shots/$(date +'%Y-%m-%d-%H%M%S.png'); mode default
+ bindsym r exec
grim -g "$(slurp)"
$(xdg-user-dir PICTURES)/shots/$(date +'%Y-%m-%d-%H%M%S.png'); mode default
bindsym Escape mode default
bindsym q mode default
}
bindsym Escape mode default
bindsym q mode default
}
+bindsym Print mode "$mode_screenshot"
#
# Window configurations
#
# Window configurations
@@
-300,18
+304,15
@@
bar {
urgent_workspace $red $red #ffffff
focused_workspace $blue $blue #ffffff
}
urgent_workspace $red $red #ffffff
focused_workspace $blue $blue #ffffff
}
- status_command i3status | my-i3status
.py
+ status_command i3status | my-i3status
}
client.focused $blue $blue #ffffff $blue $blue
client.unfocused $gray $gray #ffffff $gray $gray
client.focused_inactive $gray $gray #ffffff $gray $gray
}
client.focused $blue $blue #ffffff $blue $blue
client.unfocused $gray $gray #ffffff $gray $gray
client.focused_inactive $gray $gray #ffffff $gray $gray
-# font pango: benis uushi 9
-# font pango: Ubuntu Mono 11
-# font pango: Inconsolata 11
-font pango: DejaVu Sans Mono 9
-# font pango: Liberation Mono 9
+# font pango: DejaVu Sans Mono 9
+font pango: Source Code Pro 9.5
# get rid of title bars
default_border pixel 4
# get rid of title bars
default_border pixel 4
@@
-321,7
+322,7
@@
exec xrdb .Xresources
# systemd-inhibit --what=handle-power-key --who=aminb \
# --why="Handle power button in sway" sleep infinity
exec mako 2>&1 >/tmp/mako.log
# systemd-inhibit --what=handle-power-key --who=aminb \
# --why="Handle power button in sway" sleep infinity
exec mako 2>&1 >/tmp/mako.log
-exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
+
#
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
include /etc/sway/config.d/*
include ~/.config/sway/`hostname`
include /etc/sway/config.d/*
include ~/.config/sway/`hostname`