mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-02-11 07:19:30 +01:00
bspwm: Auto-hide the mouse cursor when inactive
This makes working with bspwm a lot cooler since the cursor is now automatically hidden when not in use, making full screen videos and other applications a lot more immersive.
This commit is contained in:
parent
51ded5a05b
commit
934a417dfb
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# New Start: A modern Arch workflow built with an emphasis on functionality.
|
# New Start: A modern Arch workflow built with an emphasis on functionality.
|
||||||
# Copyright (C) 2018 Donovan Glover
|
# Copyright (C) 2018-2022 Donovan Glover
|
||||||
|
|
||||||
export SXHKD_SHELL="/usr/bin/bash"
|
export SXHKD_SHELL="/usr/bin/bash"
|
||||||
export XCURSOR_THEME="phinger-cursors"
|
export XCURSOR_THEME="phinger-cursors"
|
||||||
@ -104,5 +104,8 @@ bspc rule -a Onboard state=floating sticky=on
|
|||||||
xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Natural Scrolling Enabled" 1
|
xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Natural Scrolling Enabled" 1
|
||||||
xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Tapping Enabled" 1
|
xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Tapping Enabled" 1
|
||||||
|
|
||||||
|
# Auto-hide the mouse cursor when inactive
|
||||||
|
unclutter &
|
||||||
|
|
||||||
# Start fcitx
|
# Start fcitx
|
||||||
fcitx5 &
|
fcitx5 &
|
||||||
|
Loading…
Reference in New Issue
Block a user