Merge branch 'user/okmans/menu_fixes' into 'master'
Improves and fixes for variables See merge request tile-os/tileos-settings-sway!13
This commit is contained in:
commit
c4a3c1dbc7
1 changed files with 3 additions and 3 deletions
|
@ -15,13 +15,13 @@ set $flock /usr/share/sway/scripts/flock.sh
|
||||||
# Your preferred terminal emulator
|
# Your preferred terminal emulator
|
||||||
set $term alacritty
|
set $term alacritty
|
||||||
set $term_cwd $term --working-directory "$(/usr/share/sway/scripts/swaycwd.sh 2>/dev/null || echo $HOME)"
|
set $term_cwd $term --working-directory "$(/usr/share/sway/scripts/swaycwd.sh 2>/dev/null || echo $HOME)"
|
||||||
set $term_float alacritty --class floating_shell -e
|
set $term_float $term --class floating_shell -e
|
||||||
|
|
||||||
# Rofi theme
|
# Rofi theme
|
||||||
set $rofi_theme "* {lightbg: $base; background: $base; lightfg: $blue; foreground: $text; border-color: $blue;} window {border: 2;}"
|
set $rofi_theme "* {lightbg: $base; background: $base; lightfg: $blue; foreground: $text; border-color: $blue;} window {border: 2;}"
|
||||||
|
|
||||||
# Your preferred application launcher
|
# Your preferred application launcher
|
||||||
set $menu rofi -show combi -combi-modi "drun,run" -terminal $term -ssh-command "{terminal} {ssh-client} {host} [-p {port}]" -run-shell-command "{terminal} {cmd}" -show-icons -font "$gui-font"
|
set $menu rofi -show combi -modes combi -combi-modes "drun,run" -terminal "$term" -show-icons -font "$gui-font"
|
||||||
|
|
||||||
# Add --to-code to bindsym, support for non-latin layouts
|
# Add --to-code to bindsym, support for non-latin layouts
|
||||||
set $bindsym bindsym --to-code
|
set $bindsym bindsym --to-code
|
||||||
|
@ -111,7 +111,7 @@ set $cliphist_store '[ -x "$(command -v wl-paste)" ] && [ -x "$(command -v cliph
|
||||||
set $cliphist_watch '[ -x "$(command -v wl-paste)" ] && [ -x "$(command -v cliphist)" ] && wl-paste --watch pkill -RTMIN+9 waybar'
|
set $cliphist_watch '[ -x "$(command -v wl-paste)" ] && [ -x "$(command -v cliphist)" ] && wl-paste --watch pkill -RTMIN+9 waybar'
|
||||||
|
|
||||||
# Start nwg-drawer as a daemon
|
# Start nwg-drawer as a daemon
|
||||||
set $nwg_drawer_daemon '[ -x "$(command -v nwg-drawer)" ] && nwg-drawer -r'
|
set $nwg_drawer_daemon '[ -x "$(command -v nwg-drawer)" ] && nwg-drawer -r -term "$term"'
|
||||||
|
|
||||||
# Start playerctl as daemon
|
# Start playerctl as daemon
|
||||||
set $watch_playerctl '[ -x "$(command -v playerctl)" ] && pkill playerctl; playerctl -a metadata --format \'{{status}} {{title}}\' --follow | while read line; do pkill -RTMIN+5 waybar; done'
|
set $watch_playerctl '[ -x "$(command -v playerctl)" ] && pkill playerctl; playerctl -a metadata --format \'{{status}} {{title}}\' --follow | while read line; do pkill -RTMIN+5 waybar; done'
|
||||||
|
|
Loading…
Add table
Reference in a new issue