switch to sway
This commit is contained in:
parent
9ae72acb0e
commit
b6c2953992
@ -44,12 +44,12 @@ interval=30
|
|||||||
[volume]
|
[volume]
|
||||||
command=i3blocks_helper volume
|
command=i3blocks_helper volume
|
||||||
interval=1
|
interval=1
|
||||||
signal=10
|
signal=3
|
||||||
|
|
||||||
[pomodoro]
|
[pomodoro]
|
||||||
command=i3blocks_helper pomodoro
|
command=i3blocks_helper pomodoro
|
||||||
interval=1
|
interval=1
|
||||||
signal=10
|
signal=2
|
||||||
|
|
||||||
[language]
|
[language]
|
||||||
command=i3blocks_helper language
|
command=i3blocks_helper language
|
||||||
|
|||||||
@ -8,4 +8,6 @@ exec swayidle -w \
|
|||||||
|
|
||||||
# Notifications
|
# Notifications
|
||||||
#systemctl --user enable --now dbus.service
|
#systemctl --user enable --now dbus.service
|
||||||
exec --no-startup-id mako
|
exec mako
|
||||||
|
|
||||||
|
exec --no-startup-id pomodoro daemon
|
||||||
|
|||||||
@ -16,7 +16,7 @@ bindsym XF86MonBrightnessUp exec xbacklight -inc 20
|
|||||||
bindsym XF86MonBrightnessDown exec xbacklight -dec 20
|
bindsym XF86MonBrightnessDown exec xbacklight -dec 20
|
||||||
|
|
||||||
|
|
||||||
# bindsym $mod+p exec pomodoro toggle
|
bindsym $mod+p exec pomodoro toggle && pkill -RTMIN+2 i3blocks
|
||||||
|
|
||||||
bindsym $mod+z exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ 0 ## Hold to talk
|
bindsym $mod+z exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ 0 ## Hold to talk
|
||||||
bindsym --release $mod+z exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ 1 ## Release to mute
|
bindsym --release $mod+z exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ 1 ## Release to mute
|
||||||
|
|||||||
@ -4,15 +4,8 @@ if [[ "${TTY}" =~ /dev/tty* ]]; then
|
|||||||
setfont cyr-sun16
|
setfont cyr-sun16
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${TTY}" = "/dev/tty1" ] && [ "${XDG_VTNR}" -eq 1 ] && [ -z "${DISPLAY}" ] && systemctl -q is-active graphical.target; then
|
if [ "${TTY}" = "/dev/tty1" ] && [ -z "${WAYLAND_DISPLAY}" ] && [ -n "${XDG_VTNR}" ] && [ "${XDG_VTNR}" -eq 1 ] && systemctl -q is-active graphical.target; then
|
||||||
x11_dir="${XDG_STATE_HOME:-${HOME}/.local/state}/x11"
|
wayland_dir="${XDG_STATE_HOME:-${HOME}/.local/state}/wayland"
|
||||||
mkdir -p "${x11_dir}"
|
mkdir -p "${wayland_dir}"
|
||||||
exec startx >> "${x11_dir}/x11.log" 2>&1
|
exec sway >> "${wayland_dir}/sway.log" 2>&1
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# if [ "${TTY}" = "/dev/tty1" ] && [ -z "${WAYLAND_DISPLAY}" ] && [ -n "${XDG_VTNR}" ] && [ "${XDG_VTNR}" -eq 1 ] && systemctl -q is-active graphical.target; then
|
|
||||||
# wayland_dir="${XDG_STATE_HOME:-${HOME}/.local/state}/wayland"
|
|
||||||
# mkdir -p "${wayland_dir}"
|
|
||||||
# exec sway --unsupported-gpu >> "${wayland_dir}/sway.log" 2>&1
|
|
||||||
# fi
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user