From 9a2eab1a78042463febd8a6eb73262cb03199d81 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Sun, 17 Nov 2024 18:53:08 +1100 Subject: [i3][xdg] Some minor changes --- misc/.config/i3/config | 3 +++ misc/.config/mimeapps.list | 7 ++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/misc/.config/i3/config b/misc/.config/i3/config index a62551d..31b74ad 100644 --- a/misc/.config/i3/config +++ b/misc/.config/i3/config @@ -175,6 +175,9 @@ bindsym $mod+Up exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% bindsym $mod+Down exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% # Sreen brightness controls +# may need to add rule for users in video group to do without sudo: +# /etc/udev/rules.d/backlight.rules: +# ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chgrp video $sys$devpath/brightness", RUN+="/bin/chmod g+w $sys$devpath/brightness" bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness diff --git a/misc/.config/mimeapps.list b/misc/.config/mimeapps.list index 7648543..e0b551f 100644 --- a/misc/.config/mimeapps.list +++ b/misc/.config/mimeapps.list @@ -20,10 +20,10 @@ application/x-extension-xhtml=firefox.desktop application/xhtml+xml=firefox.desktop application/xml=emacsclient.desktop application/zip=emacsclient.desktop -image/png=geeqie.desktop -image/jpeg=geeqie.desktop +image/png=org.geeqie.Geeqie.desktop +image/jpeg=org.geeqie.Geeqie.desktop inode/directory=emacsclient.desktop -image/webp=geeqie.desktop +image/webp=org.geeqie.Geeqie.desktop message/rfc822=emacsclient-mail.desktop text/csv=libreoffice-calc.desktop text/html=firefox.desktop @@ -45,3 +45,4 @@ x-scheme-handler/org-protocol=emacsclient-org-protocol.desktop [Added Associations] application/pdf=org.pwmt.zathura-pdf-poppler.desktop;firefox.desktop text/csv=emacsclient.desktop +image/heif=org.geeqie.Geeqie.desktop; -- cgit v1.2.3