diff options
author | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2024-07-09 00:59:44 +0300 |
---|---|---|
committer | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2024-07-09 00:59:44 +0300 |
commit | dc3c38a2d3eba90470eef10c4274ed4798a57715 (patch) | |
tree | 1e44129a1c15f5f14aca5ee905349fde16f0c93c | |
parent | bee6599cc8d0c66bb4e6ed0670d30edc5066805e (diff) |
Fix to the lock script for ST windows + routine changes.
Changes to be committed:
modified: Vencord/settings/settings.json
modified: btop/btop.conf
modified: htop/htoprc
modified: lock
modified: tmux/tmux.conf
modified: zsh/aliases
-rw-r--r-- | Vencord/settings/settings.json | 40 | ||||
-rw-r--r-- | btop/btop.conf | 46 | ||||
-rw-r--r-- | htop/htoprc | 2 | ||||
-rwxr-xr-x | lock | 6 | ||||
-rw-r--r-- | tmux/tmux.conf | 6 | ||||
-rw-r--r-- | zsh/aliases | 2 |
6 files changed, 84 insertions, 18 deletions
diff --git a/Vencord/settings/settings.json b/Vencord/settings/settings.json index 3df3b49..443013b 100644 --- a/Vencord/settings/settings.json +++ b/Vencord/settings/settings.json @@ -350,10 +350,6 @@ "steam": true, "epic": false }, - "Party mode 🎉": { - "enabled": false, - "superIntensePartyMode": 2 - }, "PermissionsViewer": { "enabled": true, "permissionsSortOrder": 0, @@ -618,9 +614,6 @@ "PictureInPicture": { "enabled": true }, - "ServerProfile": { - "enabled": true - }, "ThemeAttributes": { "enabled": true }, @@ -749,6 +742,37 @@ }, "VoiceDownload": { "enabled": false + }, + "PartyMode": { + "enabled": false, + "superIntensePartyMode": 2 + }, + "ServerInfo": { + "enabled": true + }, + "MessageUpdaterAPI": { + "enabled": true + }, + "AppleMusicRichPresence": { + "enabled": false + }, + "AutomodContext": { + "enabled": false + }, + "CopyEmojiMarkdown": { + "enabled": false + }, + "CustomIdle": { + "enabled": false + }, + "DontRoundMyTimestamps": { + "enabled": false + }, + "MaskedLinkPaste": { + "enabled": false + }, + "UserSettingsAPI": { + "enabled": true } }, "notifications": { @@ -761,6 +785,6 @@ "authenticated": false, "url": "https://api.vencord.dev/", "settingsSync": false, - "settingsSyncVersion": 1716116696065 + "settingsSyncVersion": 1719574831489 } }
\ No newline at end of file diff --git a/btop/btop.conf b/btop/btop.conf index 296b5fa..8d614b5 100644 --- a/btop/btop.conf +++ b/btop/btop.conf @@ -1,4 +1,4 @@ -#? Config file for btop v. 1.2.13 +#? Config file for btop v. 1.3.2 #* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes. #* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes" @@ -37,6 +37,9 @@ graph_symbol = "braille" # Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". graph_symbol_cpu = "default" +# Graph symbol to use for graphs in gpu box, "default", "braille", "block" or "tty". +graph_symbol_gpu = "default" + # Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". graph_symbol_mem = "default" @@ -46,7 +49,7 @@ graph_symbol_net = "default" # Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". graph_symbol_proc = "default" -#* Manually set which boxes to show. Available values are "cpu mem net proc", separate values with whitespace. +#* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace. shown_boxes = "cpu net proc mem" #* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs. @@ -86,6 +89,9 @@ proc_left = False #* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop). proc_filter_kernel = False +#* In tree-view, always accumulate child process resources in the parent process. +proc_aggregate = False + #* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available. #* Select from a list of detected attributes from the options menu. cpu_graph_upper = "total" @@ -94,6 +100,9 @@ cpu_graph_upper = "total" #* Select from a list of detected attributes from the options menu. cpu_graph_lower = "total" +#* If gpu info should be shown in the cpu box. Available values = "Auto", "On" and "Off". +show_gpu_info = "Auto" + #* Toggles if the lower CPU graph should be inverted. cpu_invert_lower = True @@ -193,10 +202,10 @@ net_download = 100 net_upload = 100 #* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest. -net_auto = False +net_auto = True #* Sync the auto scaling for download and upload to whichever currently has the highest scale. -net_sync = False +net_sync = True #* Starts with the Network Interface specified here. net_iface = "" @@ -207,6 +216,33 @@ show_battery = True #* Which battery to use if multiple are present. "Auto" for auto detection. selected_battery = "Auto" +#* Show power stats of battery next to charge indicator. +show_battery_watts = True + #* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG". #* The level set includes all lower levels, i.e. "DEBUG" will show all logging info. -log_level = "WARNING"
\ No newline at end of file +log_level = "WARNING" + +#* Measure PCIe throughput on NVIDIA cards, may impact performance on certain cards. +nvml_measure_pcie_speeds = True + +#* Horizontally mirror the GPU graph. +gpu_mirror_graph = True + +#* Custom gpu0 model name, empty string to disable. +custom_gpu_name0 = "" + +#* Custom gpu1 model name, empty string to disable. +custom_gpu_name1 = "" + +#* Custom gpu2 model name, empty string to disable. +custom_gpu_name2 = "" + +#* Custom gpu3 model name, empty string to disable. +custom_gpu_name3 = "" + +#* Custom gpu4 model name, empty string to disable. +custom_gpu_name4 = "" + +#* Custom gpu5 model name, empty string to disable. +custom_gpu_name5 = "" diff --git a/htop/htoprc b/htop/htoprc index 7e2e08f..5a1e129 100644 --- a/htop/htoprc +++ b/htop/htoprc @@ -29,7 +29,7 @@ show_cpu_temperature=1 degree_fahrenheit=0 update_process_names=1 account_guest_in_cpu_meter=1 -color_scheme=1 +color_scheme=3 enable_mouse=1 delay=15 hide_function_bar=1 @@ -44,6 +44,7 @@ declare -a LIST_OF_WINDOW_TITLES_THAT_PREVENT_LOCKING=( "Google Meet" "Microsoft Teams" "Discord" + "Dino" "Slack" "Plex" "Kodi" @@ -87,6 +88,11 @@ should_lock() { title=$(get_window_title $id) echo "Active window:$title" + if [[ $title =~ "st" ]]; then + echo "ST windows are not considered as a fullscreen window and will not prevent locking the screen" + return 0 + fi + if is_fullscreen $id; then echo "Fullscreen window detected:$title" return 1 diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 81ed9b8..6e70fce 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -22,9 +22,9 @@ run '~/.tmux/plugins/tpm/tpm' set -g mouse on -unbind C-b -set -g prefix C-Space -bind C-Space send-prefix +#unbind C-b +#set -g prefix C-Space +#bind C-Space send-prefix # Vim style pane selection bind h select-pane -L diff --git a/zsh/aliases b/zsh/aliases index c5f87da..f216d8f 100644 --- a/zsh/aliases +++ b/zsh/aliases @@ -74,7 +74,7 @@ alias catgirl="catgirl -h irc.libera.chat -j '#voidlinux'" # gaming alias proton='~/.local/share/Steam/steamapps/common/Proton\ -\ Experimental/proton run' -alias protonge='~/.local/share/Steam/compatibilitytools.d/GE-Proton9-4/proton run' +alias protonge='~/.local/share/Steam/compatibilitytools.d/GE-Proton9-9/proton run' # media alias mpv='mpv --ytdl-format="bestvideo[ext=mp4]+bestaudio[ext=m4a]"' |