feature: better waybar load module and other qol features
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[global]
|
||||
frame_color = "#BD93F9"
|
||||
separator_color = "#20212C6A"
|
||||
corner_radius = 10
|
||||
corner_radius = 4 # 10
|
||||
width = 320
|
||||
height = (0, 500)
|
||||
offset = (30, 30)
|
||||
@@ -11,7 +11,7 @@ text_icon_padding = 16
|
||||
frame_width = 2
|
||||
gap_size = 20
|
||||
font = "JetBrains Mono Nerd Font 9"
|
||||
progress_bar_corner_radius = 3
|
||||
progress_bar_corner_radius = 2 # 3
|
||||
progress_bar_frame_width = 0
|
||||
progress_bar_height = 7
|
||||
highlight = "#BD93F9"
|
||||
@@ -26,12 +26,15 @@ mouse_right_click = close_all
|
||||
[urgency_low]
|
||||
background = "#20212C6A"
|
||||
foreground = "#C0CAF5"
|
||||
timeout = 8
|
||||
|
||||
[urgency_normal]
|
||||
background = "#20212C6A"
|
||||
foreground = "#C0CAF5"
|
||||
timeout = 8
|
||||
|
||||
[urgency_critical]
|
||||
background = "#20212C6A"
|
||||
foreground = "#C0CAF5"
|
||||
frame_color = "#F38BA8"
|
||||
timeout = 20
|
||||
|
||||
@@ -5,12 +5,12 @@ $1 .
|
||||
y--. `-._
|
||||
/ $2.,$1 \___
|
||||
| \ $2'`$1 / \
|
||||
| )--( $2..,$1 )------.
|
||||
| / $2,,$1 \___/ ,-`
|
||||
| \ $2""$1 / ,-
|
||||
| r--' ,-'
|
||||
| / ,-
|
||||
| / ,-
|
||||
| / '
|
||||
| )--( $2..,$1 )---------.
|
||||
| / $2,,$1 \___/ ,-`
|
||||
| \ $2""$1 / ,-
|
||||
| r--' ,-'
|
||||
| / ,-
|
||||
| / ,-
|
||||
| / '
|
||||
|/ $3Paraphernalia OS
|
||||
$1 ` $4Arcade Edition
|
||||
|
||||
@@ -5,10 +5,10 @@ $1 ,
|
||||
\
|
||||
$2,--.$1
|
||||
$2/ \___$1
|
||||
$2\ / \$1 `-._
|
||||
$2)--( )$1 --------"
|
||||
$2/ \___/$1 ,-`
|
||||
$2\ /$1 `
|
||||
$2\ / \$1 `-._
|
||||
$2)--( )$1 ---------"
|
||||
$2/ \___/$1 ,-`
|
||||
$2\ /$1 `
|
||||
$2`--'$1
|
||||
/
|
||||
/
|
||||
|
||||
@@ -34,6 +34,12 @@ device {
|
||||
accel_profile = flat
|
||||
}
|
||||
|
||||
device {
|
||||
name = compx-2.4g-dual-mode-mouse
|
||||
sensitivity = 0
|
||||
accel_profile = flat
|
||||
}
|
||||
|
||||
device {
|
||||
name = logitech-usb-optical-mouse
|
||||
sensitivity = -0.4
|
||||
|
||||
@@ -7,3 +7,4 @@ monitor = eDP-1, prefered, auto, 1
|
||||
monitor = desc:Communications Supply Corporation (A division of WESCO) P120ZDG-BF4, 2160x1440@60, auto, 1.33333334
|
||||
monitor = desc:AU Optronics 0x243D, 1920x1080@60, 0x0, 1, bitdepth, 10
|
||||
monitor = desc:Samsung Electric Company Q85A 0x01000E00, 2560x1440@59.95, auto, 1
|
||||
monitor = desc:LG Electronics 27EA63 0x00014A73, 1920x1080@60.00000, 0x-1080, 1
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
- [ ] Rewrite hyprland config in lua
|
||||
- [ ] Extract scripts to '.scripts' directory
|
||||
- [ ] Add wallpaper selector and rewrite wallpaper workflow
|
||||
- [ ] Rewrite hyprland config in lua
|
||||
- [ ] Configure sddm
|
||||
- [ ] Rewrite display brightness configuring
|
||||
|
||||
@@ -5,8 +5,8 @@ msgId="3378455"
|
||||
station=$(pactl get-source-volume @DEFAULT_SOURCE@)
|
||||
|
||||
# TODO: fix if for pactl
|
||||
if [ $station = 'MUTED' ]; then
|
||||
notify-send -i "$HOME/.config/hypr/scripts/dunst/icons/mic off.svg" -u low -r "$msgId" "Микрофон выключен"
|
||||
else
|
||||
notify-send -i "$HOME/.config/hypr/scripts/dunst/icons/mic on.svg" -u low -r "$msgId" "Микрофон включен"
|
||||
fi
|
||||
# if [ $station = 'MUTED' ]; then
|
||||
# notify-send -i "$HOME/.config/hypr/scripts/dunst/icons/mic off.svg" -u low -r "$msgId" "Микрофон выключен"
|
||||
# else
|
||||
# notify-send -i "$HOME/.config/hypr/scripts/dunst/icons/mic on.svg" -u low -r "$msgId" "Микрофон включен"
|
||||
# fi
|
||||
|
||||
@@ -14,6 +14,14 @@ map kitty_mod+t new_tab_with_cwd
|
||||
map ctrl+v paste_from_clipboard
|
||||
map ctrl+; send_text all \x1b[24;5~
|
||||
|
||||
# Scroll up and down by line
|
||||
map alt+k scroll_line_up
|
||||
map alt+j scroll_line_down
|
||||
|
||||
# Optional: Scroll by page using Shift
|
||||
map alt+shift+k scroll_page_up
|
||||
map alt+shift+j scroll_page_down
|
||||
|
||||
|
||||
# Theme
|
||||
include current-theme.conf
|
||||
@@ -38,7 +46,7 @@ cursor_trail_decay 0.1 0.4
|
||||
# Window
|
||||
initial_window_width 95c
|
||||
initial_window_height 35c
|
||||
window_padding_width 12 12 12 12
|
||||
window_padding_width 8 8 8 8
|
||||
confirm_os_window_close 0
|
||||
|
||||
# Tabs
|
||||
|
||||
@@ -15,6 +15,9 @@ return {
|
||||
"markdown",
|
||||
"vim",
|
||||
"vimdoc",
|
||||
"html",
|
||||
"css",
|
||||
"javascript",
|
||||
})
|
||||
vim.treesitter.language.register("html", "gotmpl")
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"group/load": {
|
||||
"orientation": "horizontal",
|
||||
"modules": ["cpu", "memory", "custom/gpu"],
|
||||
"modules": ["cpu", "memory", "custom/gpu-util", "custom/gpu-vram"],
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 2,
|
||||
@@ -11,10 +11,16 @@
|
||||
"memory": {
|
||||
"interval": 2,
|
||||
"format": " {percentage}%",
|
||||
"tooltip": true,
|
||||
},
|
||||
"custom/gpu": {
|
||||
"exec": "command -v nvidia-smi &>/dev/null && nvidia-smi --query-gpu=utilization.gpu,memory.used,memory.total --format=csv,noheader,nounits | awk -F', ' '{print $1 \" \" int(($2/$3)*100)}' || echo ''",
|
||||
"format": " {0}% {1}%",
|
||||
"interval": 2,
|
||||
"custom/gpu-util": {
|
||||
"exec": "command -v nvidia-smi &>/dev/null && nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits | awk '{printf \"{\\\"text\\\": \\\" %2s%%\\\", \\\"tooltip\\\": \\\"GPU Usage: %s%%\\\"}\\n\", $1, $1}' || echo ''",
|
||||
"return-type": "json",
|
||||
"interval": 4
|
||||
},
|
||||
"custom/gpu-vram": {
|
||||
"exec": "command -v nvidia-smi &>/dev/null && nvidia-smi --query-gpu=memory.used,memory.total --format=csv,noheader,nounits | awk -F', ' '{printf \"{\\\"text\\\": \\\" %2d%%\\\", \\\"tooltip\\\": \\\"VRAM: %sMB / %sMB\\\"}\\n\", int(($1/$2)*100), $1, $2}' || echo ''",
|
||||
"return-type": "json",
|
||||
"interval": 2
|
||||
}
|
||||
}
|
||||
|
||||
@@ -87,6 +87,7 @@ tooltip label {
|
||||
#load * {
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
min-width: 50px;
|
||||
}
|
||||
|
||||
#load {
|
||||
|
||||
@@ -50,6 +50,10 @@ on = [ "g","c" ]
|
||||
run = 'cd ~/.config'
|
||||
desc = "Go to .config"
|
||||
[[mgr.prepend_keymap]]
|
||||
on = [ "g","t" ]
|
||||
run = 'cd ~/tmp'
|
||||
desc = "Go to tmp"
|
||||
[[mgr.prepend_keymap]]
|
||||
on = [ "g","d" ]
|
||||
run = 'cd ~/Downloads'
|
||||
desc = "Go to Downloads"
|
||||
|
||||
Reference in New Issue
Block a user