nix(t14): sway module updates
This commit is contained in:
parent
baf46c25a9
commit
9cc589d594
@ -70,6 +70,7 @@ in {
|
||||
avizo
|
||||
light
|
||||
swayfx
|
||||
swaybg
|
||||
];
|
||||
|
||||
## enable sway window manager
|
||||
@ -100,13 +101,14 @@ in {
|
||||
$down j
|
||||
$up k
|
||||
$right l
|
||||
$lock exec swaylock -efFc "#000000"
|
||||
# $lock exec swaylock -efFc "#000000"
|
||||
$lock exec swaylock -efF
|
||||
|
||||
$bg "/etc/walls/2020-August-11-Churning-Clouds-on-Jupiter.jpg"
|
||||
# $bg "/etc/walls/PIA06254.jpg"
|
||||
# $bg "/etc/walls/PIA20522enceladus.jpg"
|
||||
|
||||
### # $gtk_theme "Dracula"
|
||||
$gtk_theme "Dracula"
|
||||
### $gtk_theme "Yaru-purple-dark"
|
||||
### $gtk_font_name "CascadiaCodePL ExtraLight"
|
||||
### $gtk_font_size "10.4"
|
||||
@ -139,6 +141,15 @@ in {
|
||||
# hide_edge_borders --i3 both
|
||||
# smart_borders on
|
||||
|
||||
### depends on swayfx
|
||||
# blur enable
|
||||
# blur_xray enable
|
||||
# blur_passes 2
|
||||
# blur_radius 10
|
||||
# corner_radius 4
|
||||
# default_dim_inactive 0.1
|
||||
# shadows enable
|
||||
|
||||
# works also for non-floating windows
|
||||
# normal - drag floating windows by holding down $mod and left mouse button.
|
||||
# resize them with right mouse button + $mod.
|
||||
@ -181,7 +192,8 @@ in {
|
||||
# pgrep kanshi && pkill kanshi
|
||||
pgrep swayrd && pkill swayrd
|
||||
pgrep swayidle && pkill swayidle
|
||||
pgrep nm-applet && pkill nm-applet
|
||||
# pgrep nm-applet && pkill nm-applet
|
||||
pgrep autotiling && pkill autotiling
|
||||
|
||||
# kanshi
|
||||
env RUST_BACKTRACE=1 swayrd > /tmp/swayrd.log 2>&1
|
||||
@ -196,14 +208,17 @@ in {
|
||||
|
||||
# TODO(me):
|
||||
# https://github.com/slgobinath/SafeEyes
|
||||
nm-applet --indicator
|
||||
# nm-applet --indicator
|
||||
autotiling
|
||||
# lxpolkit
|
||||
}
|
||||
|
||||
exec nm-applet --indicator
|
||||
# exec nm-applet --indicator
|
||||
# exec env RUST_BACKTRACE=1 swayrd > /tmp/swayrd.log 2>&1
|
||||
# exec autotiling
|
||||
|
||||
# hide mouse after 5 seconds inactivity
|
||||
seat * hide_cursor 5000
|
||||
# hide mouse after some seconds of inactivity
|
||||
seat * hide_cursor 13000
|
||||
|
||||
bindgesture swipe:right workspace prev
|
||||
bindgesture swipe:left workspace next
|
||||
@ -328,7 +343,7 @@ in {
|
||||
# Scratchpad terminal
|
||||
for_window [title="(?i)$criteria"] floating enable, move absolute position 1500px 300px, resize set 1200px 700px, move to scratchpad, mark $criteria
|
||||
|
||||
# Waybar Tooltips don't steel focus
|
||||
# Waybar Tooltips don't steal focus
|
||||
no_focus [app_id="waybar"]
|
||||
for_window [app_id="waybar" floating] {
|
||||
move position cursor
|
||||
@ -397,7 +412,7 @@ in {
|
||||
# screenshot of an area
|
||||
Shift+print exec grim -g "$(slurp)" - | wl-copy
|
||||
# screenshot of a window
|
||||
Control+print exec winprint.sh
|
||||
## Control+print exec winprint.sh
|
||||
# colour picker / eyedropper
|
||||
$mod+Shift+Alt+f exec farge --notify
|
||||
Control+Shift+print exec grim -g "$(slurp -p)" -t ppm - | convert - -format '%[pixel:p{0,0}]' txt: | wl-copy
|
||||
@ -405,12 +420,11 @@ in {
|
||||
$mod+c exec gnome-calculator
|
||||
# -w: Always open a new window for browsing specified URIs.
|
||||
$mod+n exec nautilus -w
|
||||
$mod+Shift+n exec nemo
|
||||
$mod+m exec QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_QPA_PLATFORMTHEME=wayland vlc
|
||||
$mod+Shift+b exec brave-browser-beta --incognito $chromium_flags
|
||||
$mod+Shift+b exec brave --incognito $chromium_flags
|
||||
$mod+Shift+w exec MOZ_USE_XINPUT2=1 MOZ_ENABLE_WAYLAND=1 ~/Downloads/firefox-dev/firefox --class=swayfox --private-window
|
||||
$mod+Ctrl+Shift+w exec MOZ_USE_XINPUT2=1 MOZ_ENABLE_WAYLAND=1 systemctl --user start ff_nn
|
||||
$mod+Shift+g exec MOZ_USE_XINPUT2=1 MOZ_ENABLE_WAYLAND=1 firefox --class=swayfox --private-window
|
||||
$mod+Shift+g exec MOZ_USE_XINPUT2=1 MOZ_ENABLE_WAYLAND=1 jailfirefox --class=swayfox --private-window
|
||||
$mod+Shift+a exec jailchromium --incognito
|
||||
}
|
||||
|
||||
|
||||
@ -504,7 +518,7 @@ in {
|
||||
$mod+7 workspace number 7
|
||||
$mod+8 workspace number 8
|
||||
$mod+9 workspace number 9
|
||||
$mod+0 workspace number 10
|
||||
$mod+0 workspace number 0
|
||||
}
|
||||
|
||||
# Move focused container to workspace
|
||||
@ -519,7 +533,7 @@ in {
|
||||
$mod+Shift+7 move container to workspace number 7
|
||||
$mod+Shift+8 move container to workspace number 8
|
||||
$mod+Shift+9 move container to workspace number 9
|
||||
$mod+Shift+0 move container to workspace number 10
|
||||
$mod+Shift+0 move container to workspace number 0
|
||||
}
|
||||
|
||||
#
|
||||
@ -677,13 +691,6 @@ in {
|
||||
--locked XF86MonBrightnessUp exec lightctl up
|
||||
--locked XF86MonBrightnessDown exec lightctl down
|
||||
|
||||
### --locked XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||
### --locked XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||
### --locked XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle;exec notify-send -t3600 'audio muted'
|
||||
### --locked XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle;exec notify-send -t 3600 'mic mute toggle'
|
||||
### --locked XF86MonBrightnessUp exec light -A 5
|
||||
### --locked XF86MonBrightnessDown exec light -U 5
|
||||
|
||||
--locked $mod+Ctrl+p exec playerctl play-pause
|
||||
--locked $mod+Ctrl+n exec playerctl next
|
||||
--locked $mod+Ctrl+Shift+n exec playerctl previous
|
||||
|
Loading…
Reference in New Issue
Block a user