diff --git a/.xinitrc b/.xinitrc index 6bf62af..e704343 100755 --- a/.xinitrc +++ b/.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 diff --git a/cinnamon/spices/inhibit@cinnamon.org/inhibit@cinnamon.org.json b/cinnamon/spices/inhibit@cinnamon.org/inhibit@cinnamon.org.json new file mode 100644 index 0000000..e38c4f6 --- /dev/null +++ b/cinnamon/spices/inhibit@cinnamon.org/inhibit@cinnamon.org.json @@ -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" +} \ No newline at end of file diff --git a/dconf/user b/dconf/user index e32b7fd..835f8ec 100644 Binary files a/dconf/user and b/dconf/user differ diff --git a/dwm-6.6/config.h b/dwm-6.6/config.h index 1c56107..d8b06f4 100644 --- a/dwm-6.6/config.h +++ b/dwm-6.6/config.h @@ -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 }; diff --git a/mimeapps.list b/mimeapps.list index 0fc2513..92a9bdc 100644 --- a/mimeapps.list +++ b/mimeapps.list @@ -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; diff --git a/nemo/desktop-metadata b/nemo/desktop-metadata index c2e45b6..5d4244d 100644 --- a/nemo/desktop-metadata +++ b/nemo/desktop-metadata @@ -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 diff --git a/okularpartrc b/okularpartrc new file mode 100644 index 0000000..40ab26a --- /dev/null +++ b/okularpartrc @@ -0,0 +1,2 @@ +[Main View] +ShowLeftPanel=false diff --git a/okularrc b/okularrc new file mode 100644 index 0000000..b9d132a --- /dev/null +++ b/okularrc @@ -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 diff --git a/slstatus-1.1/config.h b/slstatus-1.1/config.h index a2ec3d0..4a1b593 100644 --- a/slstatus-1.1/config.h +++ b/slstatus-1.1/config.h @@ -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" }, };