Add Swayr config
This commit is contained in:
parent
f3a75d2d6d
commit
aa814b21f1
3 changed files with 52 additions and 2 deletions
|
@ -21,4 +21,5 @@ exec_always {
|
||||||
$watch_playerctl
|
$watch_playerctl
|
||||||
$calendar_daemon
|
$calendar_daemon
|
||||||
$import_gsettings
|
$import_gsettings
|
||||||
|
$swayr_daemon
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,8 +38,8 @@ set $volume_up pulsemixer --change-volume +5 && $volume_bar
|
||||||
set $volume_mute pulsemixer --toggle-mute && $volume_bar
|
set $volume_mute pulsemixer --toggle-mute && $volume_bar
|
||||||
|
|
||||||
# clipboard history
|
# clipboard history
|
||||||
set $clipboard cliphist list | fuzzel -dmenu -p "Select item to copy" --lines 10 --width 35 | cliphist decode | wl-copy
|
set $clipboard cliphist list | fuzzel --dmenu -p "Select item to copy" --lines 10 --width 35 | cliphist decode | wl-copy
|
||||||
set $clipboard-del cliphist list | fuzzel -dmenu -p "Select item to delete" --lines 10 --width 35 | cliphist delete
|
set $clipboard-del cliphist list | fuzzel --dmenu -p "Select item to delete" --lines 10 --width 35 | cliphist delete
|
||||||
|
|
||||||
# Pulseaudo command
|
# Pulseaudo command
|
||||||
set $pulseaudio $term_float pulsemixer
|
set $pulseaudio $term_float pulsemixer
|
||||||
|
@ -95,6 +95,9 @@ set $dex_autostart '[ -x "$(command -v dex)" ] && gdbus wait --session org.kde.S
|
||||||
# Start PCmanFM as a daemon
|
# Start PCmanFM as a daemon
|
||||||
set $pcmanfm_daemon '[ -x "$(command -v pcmanfm)" ] && pcmanfm -d'
|
set $pcmanfm_daemon '[ -x "$(command -v pcmanfm)" ] && pcmanfm -d'
|
||||||
|
|
||||||
|
# Swayr daemon
|
||||||
|
set $swayr_daemon '[ -x "$(command -v swayrd)" ] && env RUST_BACKTRACE=1 RUST_LOG=swayr=debug swayrd &> /tmp/swayrd.log'
|
||||||
|
|
||||||
# Power notifications daemon
|
# Power notifications daemon
|
||||||
set $poweralertd '[ -x "$(command -v poweralertd)" ] && pkill poweralertd; poweralertd -s -i "line power" &'
|
set $poweralertd '[ -x "$(command -v poweralertd)" ] && pkill poweralertd; poweralertd -s -i "line power" &'
|
||||||
|
|
||||||
|
|
46
etc/xdg/swayr/config.toml
Normal file
46
etc/xdg/swayr/config.toml
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
[menu]
|
||||||
|
executable = 'fuzzel'
|
||||||
|
args = [
|
||||||
|
'--dmenu',,
|
||||||
|
'-p','{prompt}',
|
||||||
|
'-font','Noto Sans 11',
|
||||||
|
]
|
||||||
|
|
||||||
|
[format]
|
||||||
|
output_format = '{indent}<b>Output {name}</b> <span alpha="20000">({id})</span>'
|
||||||
|
workspace_format = '{indent}<b>Workspace {name} [{layout}]</b> on output {output_name} <span alpha="20000">({id})</span>'
|
||||||
|
container_format = '{indent}<b>Container [{layout}]</b> <i>{marks}</i> on workspace {workspace_name} <span alpha="20000">({id})</span>'
|
||||||
|
window_format = "{indent}<i>{app_name}</i> — {urgency_start}<b>“{title}”</b>{urgency_end} <i>{marks}</i> on workspace {workspace_name} / {output_name} <span alpha=\"20000\">({id})</span>\u0000icon\u001f{app_icon}"
|
||||||
|
indent = ' '
|
||||||
|
urgency_start = '<span background="darkred" foreground="yellow">'
|
||||||
|
urgency_end = '</span>'
|
||||||
|
html_escape = true
|
||||||
|
icon_dirs = [
|
||||||
|
'/usr/share/icons/hicolor/scalable/apps',
|
||||||
|
'/usr/share/icons/hicolor/64x64/apps',
|
||||||
|
'/usr/share/icons/hicolor/48x48/apps',
|
||||||
|
'/usr/share/icons/Adwaita/64x64/apps',
|
||||||
|
'/usr/share/icons/Adwaita/48x48/apps',
|
||||||
|
'/usr/share/pixmaps',
|
||||||
|
]
|
||||||
|
|
||||||
|
[layout]
|
||||||
|
auto_tile = false
|
||||||
|
auto_tile_min_window_width_per_output_width = [
|
||||||
|
[1024, 500],
|
||||||
|
[1280, 600],
|
||||||
|
[1400, 680],
|
||||||
|
[1440, 700],
|
||||||
|
[1600, 780],
|
||||||
|
[1920, 920],
|
||||||
|
[2560, 1000],
|
||||||
|
[3440, 1000],
|
||||||
|
[4096, 1200],
|
||||||
|
]
|
||||||
|
|
||||||
|
[focus]
|
||||||
|
lockin_delay = 750
|
||||||
|
|
||||||
|
[misc]
|
||||||
|
auto_nop_delay = 3000
|
||||||
|
seq_inhibit = false
|
Loading…
Add table
Reference in a new issue