Remove old notif mapping, move start progs on venv entry and fix force restart
This commit is contained in:
parent
aef72aad59
commit
8ff4b71871
2 changed files with 11 additions and 14 deletions
15
config.py
15
config.py
|
@ -26,7 +26,7 @@ def cmd_run(prompt, sudo=False):
|
|||
|
||||
|
||||
def hard_restart(misc):
|
||||
execl("/opt/qtile/qtile-venv-entry", " ")
|
||||
execl("/opt/qtile/bin/qtile", " ")
|
||||
|
||||
|
||||
keys = [
|
||||
|
@ -93,13 +93,6 @@ keys = [
|
|||
Key([mod, "mod1"], "v", lazy.spawn(f"{exitvenv} vivaldi")),
|
||||
Key([mod, "mod1"], "d", lazy.spawn(f"{exitvenv} discord")),
|
||||
Key([mod, "mod1"], "t", lazy.spawn(f"{exitvenv} telegram-desktop")),
|
||||
|
||||
|
||||
# Notify
|
||||
Key([mod, "mod1"], "Right", lazy.widget["notify"].next()),
|
||||
Key([mod, "mod1"], "Left", lazy.widget["notify"].prev()),
|
||||
Key([mod, "mod1"], "Down", lazy.widget["notify"].clear()),
|
||||
|
||||
]
|
||||
|
||||
|
||||
|
@ -206,7 +199,6 @@ def main(q):
|
|||
widget.Prompt(),
|
||||
widget.TaskList(txt_floating="🗗", txt_maximized="🗖", txt_minimized="🗕"),
|
||||
widget.Systray(),
|
||||
#widget.Notify(),
|
||||
widget.CheckUpdates(custom_command="apt list --upgradable", execute="sudo -A apt update", display_format="{updates}", colour_have_updates="ff7300", colour_no_updates="5eff00"),
|
||||
widget.Sep(),
|
||||
widget.CPU(format="{load_percent}%"),
|
||||
|
@ -224,9 +216,6 @@ def main(q):
|
|||
24,
|
||||
)
|
||||
))
|
||||
Popen("/usr/lib/notification-daemon/notification-daemon")
|
||||
Popen(["nextcloud", "--background"])
|
||||
Popen("kdeconnect-indicator")
|
||||
|
||||
|
||||
wmname = "LG3D"
|
||||
|
||||
|
|
|
@ -1,13 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
export SUDO_ASKPASS=/usr/bin/ssh-askpass
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
|
||||
|
||||
picom --vsync --backend glx -b
|
||||
pulseaudio -D
|
||||
/usr/lib/notification-daemon/notification-daemon &
|
||||
|
||||
|
||||
feh --bg-fill ~/Nextcloud/Images/Furry/Commis/Kat-LUK.J_/poster_etha.png
|
||||
xbrightness 0.5
|
||||
xrandr --output DSI-1 --dpi 100
|
||||
|
||||
|
||||
# Fix touchscreen
|
||||
xinput set-prop "pointer:ELAN22A6:00 04F3:22A6" --type=float "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1
|
||||
|
@ -25,6 +29,10 @@ xinput set-prop $touchpadid $speedid 5 0 0 0 5 0 0 0 2
|
|||
xinput set-prop $touchpadid $disablewhiletypingid 0
|
||||
|
||||
|
||||
nextcloud --background &
|
||||
kdeconnect-indicator &
|
||||
|
||||
|
||||
source /opt/qtile/venv/bin/activate
|
||||
python /opt/qtile/bin/qtile $* > /opt/qtile/qtile.log
|
||||
|
||||
|
|
Reference in a new issue