fixed dwm hanging cus slstatus was stuck on bluetoothctl show
This commit is contained in:
parent
91190eb4b8
commit
d4e319226e
3
.xinitrc
3
.xinitrc
@ -11,4 +11,7 @@ export XDG_SESSION_TYPE=x11
|
||||
# QT apps use xdg portal settings
|
||||
export QT_USE_PORTAL=1
|
||||
|
||||
# xss-lock -- cinnamon-screensaver-command --lock &
|
||||
redshift -l 40.7:-74.0 -t 6800:3600 &
|
||||
|
||||
exec dbus-run-session -- /usr/local/bin/dwm
|
||||
|
||||
@ -0,0 +1,35 @@
|
||||
{
|
||||
"section1": {
|
||||
"type": "section",
|
||||
"description": "Keyboard shortcuts"
|
||||
},
|
||||
"keyPower": {
|
||||
"type": "keybinding",
|
||||
"description": "Inhibit power management",
|
||||
"default": "",
|
||||
"tooltip": "Set keybinding(s) to inhibit power management.",
|
||||
"value": ""
|
||||
},
|
||||
"keyNotifications": {
|
||||
"type": "keybinding",
|
||||
"description": "Inhibit notifications",
|
||||
"default": "",
|
||||
"tooltip": "Set keybinding(s) to inhibit notifications.",
|
||||
"value": ""
|
||||
},
|
||||
"section2": {
|
||||
"type": "section",
|
||||
"description": ""
|
||||
},
|
||||
"btnSystemPowerSettings": {
|
||||
"type": "button",
|
||||
"description": "Open power settings",
|
||||
"callback": "on_btn_open_system_power_settings_clicked"
|
||||
},
|
||||
"btnSystemNotificationSettings": {
|
||||
"type": "button",
|
||||
"description": "Open notification settings",
|
||||
"callback": "on_btn_open_system_notification_settings_clicked"
|
||||
},
|
||||
"__md5__": "56e8861daa343dffe968f80e9a7fa5a2"
|
||||
}
|
||||
BIN
dconf/user
BIN
dconf/user
Binary file not shown.
@ -2,7 +2,7 @@
|
||||
|
||||
/*
|
||||
* Packages needed for dwm to work properly:
|
||||
* xset redshift nitrogen brightnessctl playerctl flameshot xss-lock
|
||||
* xset redshift nitrogen brightnessctl playerctl flameshot
|
||||
*/
|
||||
|
||||
/* appearance */
|
||||
@ -66,7 +66,6 @@ static const char *const autostart[] = {
|
||||
// "/home/plky/.config/dwmstat.sh", NULL,
|
||||
"slstatus", NULL,
|
||||
// doesnt work??
|
||||
"redshift", "-l", "40.7:-74.0", "-t", "6800:3600", NULL,
|
||||
"xcompmgr", NULL,
|
||||
|
||||
// screen blank/off after 1h
|
||||
@ -74,8 +73,6 @@ static const char *const autostart[] = {
|
||||
"xset", "+dpms", NULL,
|
||||
"xset", "dpms", "3600", "3600", "3600", NULL,
|
||||
|
||||
"xss-lock", "--", "cinnamon-screensaver-command", "--lock", NULL,
|
||||
|
||||
NULL
|
||||
};
|
||||
|
||||
|
||||
@ -30,8 +30,9 @@ x-scheme-handler/jetbrains=jetbrains-toolbox.desktop
|
||||
x-scheme-handler/about=helium.desktop
|
||||
x-scheme-handler/unknown=helium.desktop
|
||||
x-scheme-handler/discord-1038970224050962582=nuclear.desktop
|
||||
x-scheme-handler/tg=org.telegram.desktop.desktop
|
||||
x-scheme-handler/tonsite=org.telegram.desktop.desktop
|
||||
x-scheme-handler/tg=org.telegram.desktop._b1807ce1df22ee6402707058cb72785d.desktop
|
||||
x-scheme-handler/tonsite=org.telegram.desktop._b1807ce1df22ee6402707058cb72785d.desktop
|
||||
application/pdf=org.kde.okular.desktop
|
||||
|
||||
[Added Associations]
|
||||
x-scheme-handler/http=userapp-Firefox-J7KBH3.desktop;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
[desktop-monitor-0]
|
||||
nemo-icon-view-keep-aligned=true
|
||||
nemo-icon-view-auto-layout=true
|
||||
nemo-icon-view-layout-timestamp=1769319652
|
||||
nemo-icon-view-layout-timestamp=1769438486
|
||||
|
||||
[trash]
|
||||
nemo-icon-position-timestamp=1769305174
|
||||
|
||||
2
okularpartrc
Normal file
2
okularpartrc
Normal file
@ -0,0 +1,2 @@
|
||||
[Main View]
|
||||
ShowLeftPanel=false
|
||||
12
okularrc
Normal file
12
okularrc
Normal file
@ -0,0 +1,12 @@
|
||||
[Desktop Entry]
|
||||
FullScreen=false
|
||||
|
||||
[General]
|
||||
LockSidebar=true
|
||||
ShowSidebar=true
|
||||
|
||||
[Recent Files]
|
||||
File1[$e]=$HOME/Documents/Psychology2e_WEB.pdf
|
||||
File2[$e]=$HOME/Downloads/Young Goodman Brown Full Text - Young Goodman Brown - Owl Eyes.pdf
|
||||
Name1[$e]=Psychology2e_WEB.pdf
|
||||
Name2[$e]=Young Goodman Brown Full Text - Young Goodman Brown - Owl Eyes.pdf
|
||||
@ -95,7 +95,8 @@ static const char bt[] =
|
||||
"if ! command -v bluetoothctl >/dev/null 2>&1; then "
|
||||
"printf \" N/A\"; exit; "
|
||||
"fi; "
|
||||
"powered=`bluetoothctl show 2>/dev/null | awk -F': ' '/Powered:/ {print $2}'`; "
|
||||
// removing timeout 0.1 is worse than death
|
||||
"powered=`timeout 0.1 bluetoothctl show 2>/dev/null | awk -F': ' '/Powered:/ {print $2}'`; "
|
||||
"if [ \"$powered\" != \"yes\" ]; then "
|
||||
"printf \" OFF\"; exit; "
|
||||
"fi; "
|
||||
@ -109,14 +110,14 @@ static const char bt[] =
|
||||
|
||||
static const struct arg args[] = {
|
||||
/* function format argument */
|
||||
{ wifi_essid, "%s ", "wlp3s0" },
|
||||
{ wifi_perc, "%s%%", "wlp3s0" },
|
||||
{ wifi_essid, "%s ", "wlp3s0" },
|
||||
{ wifi_perc, "%s%%", "wlp3s0" },
|
||||
{ run_command, "| %s", bright },
|
||||
{ run_command, "| %s", vol },
|
||||
{ run_command, "| %s", bt },
|
||||
{ battery_perc, "| %s%%", "BAT0" },
|
||||
{ battery_perc, "| %s%%", "BAT0" },
|
||||
{ battery_state, "(%s) ", "BAT0" },
|
||||
{ cpu_freq, "| %sHz", NULL },
|
||||
{ cpu_freq, "| %sHz", NULL },
|
||||
{ keymap, "| %s ", NULL },
|
||||
{ datetime, "| %s", "%A %I:%M %p - %m/%d" },
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user