fix slm sway
This commit is contained in:
parent
512034a05a
commit
0220be6920
@ -12,7 +12,7 @@ ssh:
|
||||
git:.config/git .local/bin/ga
|
||||
ranger:.config/ranger
|
||||
gpg:
|
||||
sway:.config/sway .config/i3blocks .config/mako .config/mimeapps.list .config/rofi .local/bin/screenshot .local/bin/i3blocks_helper .local/bin/layout_change_handler .config/swaylock .Xresources .local/bin/sway_swap_workspaces %pomodoro
|
||||
sway:.config/sway .config/i3blocks .config/mako .config/mimeapps.list .config/rofi .local/bin/screenshot .local/bin/i3blocks_helper .local/bin/layout_change_handler .config/swaylock .Xresources .local/bin/sway_swap_workspaces .local/bin/slm .local/bin/slm_rofi %pomodoro
|
||||
pomodoro:
|
||||
bat:.config/bat
|
||||
font:
|
||||
|
||||
@ -10,7 +10,7 @@ exec swayidle -w \
|
||||
|
||||
# Notifications
|
||||
#systemctl --user enable --now dbus.service
|
||||
exec mako
|
||||
exec mako --anchor top-right --default-timeout 4000 --icons 1 --actions 1 --output primary
|
||||
|
||||
exec --no-startup-id pomodoro daemon
|
||||
|
||||
|
||||
@ -40,7 +40,7 @@ bindsym --to-code $mod+Shift+r reload
|
||||
|
||||
set $menu rofi -show drun -m -1
|
||||
bindsym --to-code $mod+d exec $menu
|
||||
# bindsym $mod+o exec --no-startup-id slm_rofi.sh
|
||||
bindsym $mod+o exec --no-startup-id slm_rofi
|
||||
|
||||
# Change focus
|
||||
bindsym --to-code $mod+h focus left
|
||||
|
||||
@ -15,11 +15,11 @@ mouse_warping none
|
||||
popup_during_fullscreen smart
|
||||
smart_borders on
|
||||
|
||||
# kill focused window
|
||||
for_window [tiling] border pixel 3
|
||||
for_window [title="Picture-in-Picture"] sticky enable
|
||||
for_window [title="Picture-in-Picture"] border pixel 0
|
||||
for_window [app_id="firefox"] inhibit_idle fullscreen
|
||||
for_window [app_id="pavucontrol"] floating enable
|
||||
|
||||
assign [app_id="firefox"] workspace $ws1
|
||||
assign [app_id="Alacritty"] workspace $ws2
|
||||
|
||||
@ -11,12 +11,7 @@ if [ ! -d "${LAYOUTS_DIR}" ]; then
|
||||
fi
|
||||
|
||||
cmd_list() {
|
||||
find "$LAYOUTS_DIR" -type f,l -exec basename {} \;
|
||||
}
|
||||
|
||||
cmd_wallpaper() {
|
||||
readonly wallpapers="${HOME}/.wallpaper"
|
||||
feh --no-fehbg --bg-scale "$(find "${wallpapers}" | shuf -n 1)"
|
||||
find "${LAYOUTS_DIR}" -type f,l -exec basename {} \;
|
||||
}
|
||||
|
||||
cmd_load() {
|
||||
@ -25,18 +20,16 @@ cmd_load() {
|
||||
else
|
||||
"${LAYOUTS_DIR}/${1}"
|
||||
fi
|
||||
cmd_wallpaper
|
||||
}
|
||||
|
||||
cmd_help () {
|
||||
echo "slm (ls|load|wallpaper)" >&2
|
||||
echo "slm (ls|load)" >&2
|
||||
}
|
||||
|
||||
|
||||
case "${1}" in
|
||||
ls) shift; cmd_list "$@" ;;
|
||||
load) shift; cmd_load "$@" ;;
|
||||
wallpaper) shift; cmd_wallpaper "$@" ;;
|
||||
*) shift; cmd_help "$@" ;;
|
||||
esac
|
||||
exit 0
|
||||
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "pacman -S sway waybar swayidle wl-clipboard ydotool grim slurp mako"
|
||||
echo "pacman -S sway waybar swaylock swayidle wl-clipboard ydotool grim slurp mako wlr-randr"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user