diff options
| -rw-r--r-- | dot-config/alacritty/alacritty.toml | 4 | ||||
| -rw-r--r-- | dot-config/alacritty/fonts.toml | 2 | ||||
| -rwxr-xr-x | dot-config/bspwm/bspwmrc | 4 | ||||
| -rwxr-xr-x | dot-config/bspwm/scripts/bspscreenshot | 2 | ||||
| -rw-r--r-- | dot-config/dunst/dunstrc | 4 | ||||
| -rw-r--r-- | dot-config/gtk-3.0/settings.ini | 10 | ||||
| -rw-r--r-- | dot-config/polybar/modules.ini | 2 | ||||
| -rw-r--r-- | dot-config/qt5ct/qt5ct.conf | 2 | ||||
| -rw-r--r-- | dot-config/qt6ct/qt6ct.conf | 2 | ||||
| -rw-r--r-- | dot-config/waybar/config.jsonc | 5 | ||||
| -rw-r--r-- | dot-config/waybar/modules.jsonc | 60 | ||||
| -rw-r--r-- | dot-config/waybar/style.css | 44 | ||||
| -rw-r--r-- | dot-gtkrc-2.0 | 4 | ||||
| -rw-r--r-- | dot-zshrc | 1 |
14 files changed, 118 insertions, 28 deletions
diff --git a/dot-config/alacritty/alacritty.toml b/dot-config/alacritty/alacritty.toml index 2cb5522b..aea7e5d9 100644 --- a/dot-config/alacritty/alacritty.toml +++ b/dot-config/alacritty/alacritty.toml @@ -16,10 +16,10 @@ TERM = "alacritty" decorations = "full" dynamic_title = true opacity = 0.7 -startup_mode = "Windowed" +startup_mode = "Maximized" [window.dimensions] -columns = 88 +columns = 80 lines = 24 [window.padding] diff --git a/dot-config/alacritty/fonts.toml b/dot-config/alacritty/fonts.toml index 04504acb..eb52e6ee 100644 --- a/dot-config/alacritty/fonts.toml +++ b/dot-config/alacritty/fonts.toml @@ -1,5 +1,5 @@ [font] -size = 10 +size = 12 [font.bold] family = "JetBrains Mono" diff --git a/dot-config/bspwm/bspwmrc b/dot-config/bspwm/bspwmrc index 7b61985c..4f5a44d2 100755 --- a/dot-config/bspwm/bspwmrc +++ b/dot-config/bspwm/bspwmrc @@ -95,7 +95,7 @@ for i in ${code[@]}; do bspc rule -a $i desktop='^4' follow=on focus=on; done ## 5 > office and docs (always open office/doc apps on workspace-5) -declare -a office=(Gucharmap Atril Evince libreoffice-writer libreoffice-calc libreoffice-impress libreoffice-startcenter libreoffice Soffice *:libreofficedev *:soffice Typora obsidian figma-linux anytype) +declare -a office=(Gucharmap Atril Evince libreoffice-writer libreoffice-calc libreoffice-impress libreoffice-startcenter libreoffice Soffice *:libreofficedev *:soffice Typora obsidian figma-linux anytype craft-nativefier-e0958b) for i in ${office[@]}; do bspc rule -a $i desktop='^5' follow=on focus=on; done @@ -311,7 +311,7 @@ fi # sleep 10 # connection with other computers(universal control) while ! systemctl is-active network.target; do - sleep 1 + wait done /usr/bin/ps ax | grep -v grep | grep input-leap || input-leap & diff --git a/dot-config/bspwm/scripts/bspscreenshot b/dot-config/bspwm/scripts/bspscreenshot index 9403a870..2994d287 100755 --- a/dot-config/bspwm/scripts/bspscreenshot +++ b/dot-config/bspwm/scripts/bspscreenshot @@ -1,7 +1,5 @@ #!/usr/bin/env bash -## Script to take screenshots on Archcraft. - # file time=`date +%Y-%m-%d-%H-%M-%S` geometry=`xrandr | grep 'current' | head -n1 | cut -d',' -f2 | tr -d '[:blank:],current'` diff --git a/dot-config/dunst/dunstrc b/dot-config/dunst/dunstrc index 9f23db47..0c971b61 100644 --- a/dot-config/dunst/dunstrc +++ b/dot-config/dunst/dunstrc @@ -52,13 +52,13 @@ title = Dunst class = Dunst [urgency_low] -timeout = 3 +timeout = 1 background = "#1E212880" foreground = "#ABB2BF" frame_color = "#292d37" [urgency_normal] -timeout = 5 +timeout = 3 background = "#1E212880" foreground = "#ABB2BF" frame_color = "#292d37" diff --git a/dot-config/gtk-3.0/settings.ini b/dot-config/gtk-3.0/settings.ini index 8ccf2318..8aa6b30b 100644 --- a/dot-config/gtk-3.0/settings.ini +++ b/dot-config/gtk-3.0/settings.ini @@ -2,16 +2,16 @@ gtk-theme-name=Arc-Dark gtk-icon-theme-name=BeautyLine gtk-font-name=Cantarell 11 -gtk-cursor-theme-name=LyraB-cursors +gtk-cursor-theme-name=Bibata-Rainbow-Modern gtk-cursor-theme-size=24 gtk-toolbar-style=GTK_TOOLBAR_ICONS gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR gtk-button-images=0 -gtk-menu-images=true +gtk-menu-images=0 gtk-enable-event-sounds=1 gtk-enable-input-feedback-sounds=0 gtk-xft-antialias=1 gtk-xft-hinting=1 -gtk-xft-hintstyle=hintslight -gtk-xft-rgba=rgb -gtk-application-prefer-dark-theme=0 +gtk-xft-hintstyle=hintfull +; gtk-xft-rgba=rgb +gtk-application-prefer-dark-theme=1 diff --git a/dot-config/polybar/modules.ini b/dot-config/polybar/modules.ini index e2558acf..7445ac0b 100644 --- a/dot-config/polybar/modules.ini +++ b/dot-config/polybar/modules.ini @@ -790,7 +790,7 @@ type = custom/script interval = 1 tail = true exec-if = nvidia-smi -exec = echo " $(nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits)%" +exec = $HOME/scripts/waybargpu.sh [module/musics] type = custom/script diff --git a/dot-config/qt5ct/qt5ct.conf b/dot-config/qt5ct/qt5ct.conf index 3ffafc8f..64d3ed51 100644 --- a/dot-config/qt5ct/qt5ct.conf +++ b/dot-config/qt5ct/qt5ct.conf @@ -25,7 +25,7 @@ underline_shortcut=1 wheel_scroll_lines=3 [SettingsWindow] -geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x3\xc3\0\0\x2\x33\0\0\a{\0\0\x4\x33\0\0\0\0\0\0\0\x14\0\0\x2\xde\0\0\x3\x15\0\0\0\0\x2\0\0\0\a\x80\0\0\x3\xc5\0\0\x2\x35\0\0\ay\0\0\x4\x31) +geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\t\xff\0\0\x5\x9f\0\0\0\0\0\0\0\0\0\0\x2\x7f\0\0\x2\xd9\0\0\0\0\x2\x4\0\0\n\0\0\0\0\0\0\0\0\0\0\0\t\xff\0\0\x5\x9f) [Troubleshooting] force_raster_widgets=1 diff --git a/dot-config/qt6ct/qt6ct.conf b/dot-config/qt6ct/qt6ct.conf index c5cf57b2..3fa8655a 100644 --- a/dot-config/qt6ct/qt6ct.conf +++ b/dot-config/qt6ct/qt6ct.conf @@ -25,7 +25,7 @@ underline_shortcut=1 wheel_scroll_lines=3 [SettingsWindow] -geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\a\x85\0\0\0Z\0\0\xe\xf5\0\0\be\0\0\a\x89\0\0\0^\0\0\xe\xf1\0\0\ba\0\0\0\0\0\0\0\0\xf\0\0\0\a\x89\0\0\0^\0\0\xe\xf1\0\0\ba) +geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\t\xff\0\0\x5\x9f\0\0\0\0\0\0\0\0\0\0\x2\x7f\0\0\x2\xcf\0\0\0\0\x2\x4\0\0\n\0\0\0\0\0\0\0\0\0\0\0\t\xff\0\0\x5\x9f) [Troubleshooting] force_raster_widgets=1 diff --git a/dot-config/waybar/config.jsonc b/dot-config/waybar/config.jsonc index ae6723db..5a556a52 100644 --- a/dot-config/waybar/config.jsonc +++ b/dot-config/waybar/config.jsonc @@ -3,12 +3,13 @@ "include": "~/.config/waybar/modules.jsonc", "position": "top", "layer": "top", + "height": 30, "margin-top": 10, "margin-bottom": 0, "margin-left": 25, "margin-right": 25, - "modules-left": ["custom/launcher", "group/musicworkspace"], + "modules-left": ["custom/launcher", "group/musicworkspace", "privacy"], "modules-center": ["hyprland/window", "cava"], - "modules-right": ["cpu", "memory", "custom/gpu", "temperature", "network", "group/misc", "group/power"], + "modules-right": ["cpu", "memory", "custom/gpu", "temperature", "network", "group/misc", "custom/wf-recorder", "group/power"], // "reload_style_on_change": true, } diff --git a/dot-config/waybar/modules.jsonc b/dot-config/waybar/modules.jsonc index 9f7f58d4..6da47d65 100644 --- a/dot-config/waybar/modules.jsonc +++ b/dot-config/waybar/modules.jsonc @@ -1,11 +1,12 @@ { // Modules configuration "clock": { - "format": " {:%H:%M}", + "format": " {:%I:%M:%S}", "tooltip": "true", "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", - "format-alt": " {:%d/%m}", - "on-click-right": "swaync-client -t -sw" + "format-alt": " {:%A %d/%m}", + "on-click-right": "swaync-client -t -sw", + "interval": 1 }, @@ -97,20 +98,52 @@ // "on-click-right": "bash $HOME/.config/rofi/run.sh" // "on-click-right": "wofi --show run -I -a -n -W 500 -H 376 -s ~/.config/wofi/themes/gruvbox.css" }, - // "hyprland/window": { - - // }, + "hyprland/window": { + // "on-click": "hyprctl dispatch focuswindow 'title:{title}'", + }, "custom/gpu": { "format": " {}%", "format-alt": " {}°C", "exec-if": "nvidia-smi", "exec": "nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits", "exec-alt": "nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader,nounits", + // "return-type": "json", + "tooltip": false, "interval": 3 }, "temperature": { "format": " {}°C", + "tooltip": false, "critical-threshold": 80, + "interval": 1 + }, + // "custom/indicator": { + // "format": "{}", + // "exec": "$HOME/scripts/hyprindicator subscribe", + // "return-type": "json", + // }, + "privacy": { + "icon-spacing": 4, + "icon-size": 24, + "transition-duration": 250, + "modules": [ + { + "type": "screenshare", + "tooltip": true, + "tooltip-icon-size": 24 + }, + { + "type": "audio-out", + "tooltip": true, + "tooltip-icon-size": 24 + }, + { + "type": "audio-in", + "tooltip": true, + "tooltip-icon-size": 24 + } + ], + "interval": 1 }, // "cava": { // // "cava_config": "$XDG_CONFIG_HOME/cava/cava.conf", @@ -134,6 +167,10 @@ // "on-click-right": "mode" // } // }, + // "group/small-utils": { + // "modules": ["custom/notification", "custom/wf-recorder", "custom/dummy-mic", "custom/dummy-cam", "custom/disable-sound"], + // "click-to-reveal": true, + // }, "custom/notification": { "tooltip": false, "format": "{icon}", @@ -154,9 +191,18 @@ "on-click-right": "swaync-client -d -sw", "escape": true }, + // "custom/wf-recorder": { + // "format": "{}", + // "interval": "once", + // // "exec": "if pgrep wf-recorder >/dev/null; then echo ''; else echo ''; fi", + // "tooltip": "false", + // "on-click": "exec $HOME/scripts/wf-record", + // "on-click-right": "exec $HOME/scripts/wf-record -s", + // "signal": 8 + // }, "group/misc": { "orientation": "horizontal", - "modules": ["clock", "custom/notification", "tray"], + "modules": ["clock", "group/small-utils", "tray"], "drawer": {} }, "custom/quit": { diff --git a/dot-config/waybar/style.css b/dot-config/waybar/style.css index 9d07da0c..42e91d0a 100644 --- a/dot-config/waybar/style.css +++ b/dot-config/waybar/style.css @@ -122,3 +122,47 @@ tooltip { #temperature.critical { color: @RED; } + +.no { + background-color: transparent; + border: none; +} + +/* .mic, .cam { */ +/* color: @YELLOW; */ +/* } */ + +#custom-indicator { + color: @YELLOW; +} + +#custom-shutdown { + color: @RED; +} + +#custom-quit { + color: @YELLOW; +} + +#custom-lock { + color: @YELLOW; +} + +#custom-reboot { + color: @RED; +} + +#privacy { + background-color: @BACKGROUND; + border-radius: 0px 8px 8px 0px; + margin-top: 12px; + margin-bottom: 12px; +} + +#privacy > *, #privacy-item > * { + color: @YELLOW; +} + +#custom-wf-recorder { + padding-left: 12px; +} diff --git a/dot-gtkrc-2.0 b/dot-gtkrc-2.0 index bfedae14..899717ca 100644 --- a/dot-gtkrc-2.0 +++ b/dot-gtkrc-2.0 @@ -2,10 +2,10 @@ # Any customization should be done in ~/.gtkrc-2.0.mine instead. include "/home/system/.gtkrc-2.0.mine" -gtk-theme-name="Arc-Dark" +gtk-theme-name="Arc-Darker" gtk-icon-theme-name="BeautyLine" gtk-font-name="Cantarell 11" -gtk-cursor-theme-name="LyraB-cursors" +gtk-cursor-theme-name="Bibata-Rainbow-Modern" gtk-cursor-theme-size=24 gtk-toolbar-style=GTK_TOOLBAR_ICONS gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR @@ -152,3 +152,4 @@ precmd() { # function cd { # cd $@ && echo $@ > $HOME/.cache/prev.dir # } +# |
