Added notes for pcmanfm and some other tools

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2024-03-15 22:17:47 +01:00
parent 1fdd8d0276
commit c24fd84b7b
4 changed files with 49 additions and 25 deletions

View File

@@ -80,7 +80,7 @@ bindsym $mod+Shift+0 move container to workspace $ws0; workspace $ws0
# Open specific applications in floating mode
for_window [class="(?i)virtualbox"] floating enable border normal
for_window [title="KeePassX$"] floating enable border normal
for_window [title="KeePassX$"] floating enable
###############################################################################
############################ Startup Applications #############################
@@ -90,10 +90,9 @@ exec --no-startup-id setxkbmap eu; setxkbmap -option ctrl:nocaps;
exec --no-startup-id picom
exec --no-startup-id udiskie
exec --no-startup-id conky -c ~/.conky/syclo-crimson-bottomleft.conkyrc
# exec --no-startup-id synergyc -f --no-tray --debug INFO --name genesis --enable-crypto 192.168.178.38:24800
exec --no-startup-id dunst
exec --no-startup-id ~/.scripts/startup.sh
exec --no-startup-id syncthing
exec --no-startup-id syncthing serve --no-browser
exec --no-startup-id feh --randomize --bg-fill $HOME/Pictures/Wallpaper/*
###############################################################################
@@ -127,6 +126,7 @@ bindsym XF86AudioPlay exec "playerctl play-pause"
bindsym XF86AudioStop exec "playerctl stop"
bindsym XF86AudioNext exec "playerctl next"
bindsym XF86AudioPrevious exec "playerctl previous"
bindsym XF86AudioMicMute exec "amixer set Capture toggle"
# Application Shortcuts
bindsym $mod+b exec firefox

View File

@@ -1,3 +1,7 @@
[user]
email = tuan-dat.tran@tudattr.dev
name = Tuan-Dat Tran
[core]
pager = delta
@@ -13,6 +17,3 @@
[diff]
colorMoved = default
[user]
email = tuan-dat.tran@tudattr.dev
name = Tuan-Dat Tran

View File

@@ -1,17 +1,23 @@
#!/bin/sh
type xbacklight >/dev/null 2>&1 || { echo >&2 "I require xbacklight but it's not installed. Aborting."; exit 1; }
type dunstify >/dev/null 2>&1 || { echo >&2 "I require dunstify but it's not installed. Aborting."; exit 1; }
type xbacklight >/dev/null 2>&1 || {
echo >&2 "I require xbacklight but it's not installed. Aborting."
exit 1
}
type dunstify >/dev/null 2>&1 || {
echo >&2 "I require dunstify but it's not installed. Aborting."
exit 1
}
case $1 in
"up"*)
xbacklight -inc 10 &
currentBrightness=$(xbacklight | cut -d\. -f1);
dunstify -r 1 'brightness up'\ \($currentBrightness%\);
;;
"down"*)
xbacklight -dec 10 &
currentBrightness=$(xbacklight | cut -d\. -f1);
dunstify -r 1 'brightness down'\ \($currentBrightness%\);
;;
"up"*)
xbacklight -inc 10 &
currentBrightness=$(xbacklight -get)
dunstify -r 1 'brightness up'\ \($currentBrightness%\)
;;
"down"*)
xbacklight -dec 10 &
currentBrightness=$(xbacklight -get)
dunstify -r 1 'brightness down'\ \($currentBrightness%\)
;;
esac