mirror of
https://github.com/CoolnsX/hyprdots.git
synced 2025-12-20 07:15:23 +05:30
[Insert your commit message here. Be sure to make it descriptive.]
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,5 +1,5 @@
|
||||
autostart
|
||||
Code
|
||||
Code/*
|
||||
composer
|
||||
dconf
|
||||
google-chrome
|
||||
@@ -20,3 +20,4 @@ libreoffice
|
||||
epdfview
|
||||
btop
|
||||
xpra
|
||||
psysh
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[FileDialog]
|
||||
history=@Invalid()
|
||||
lastVisited=file:///dev
|
||||
qtVersion=5.15.10
|
||||
qtVersion=5.15.12
|
||||
shortcuts=file:, file:///home/tanveer
|
||||
sidebarWidth=84
|
||||
treeViewHeader=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x1\xb8\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\0\xe8\0\0\0\x1\0\0\0\0\0\0\0\x36\0\0\0\x1\0\0\0\0\0\0\0:\0\0\0\x1\0\0\0\0\0\0\0`\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff\0\0\0\0)
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
# Padding between text and separator.
|
||||
padding = 8
|
||||
|
||||
highlight = "#00D8CE"
|
||||
highlight = "#5E88DD"
|
||||
|
||||
# Horizontal padding.
|
||||
horizontal_padding = 8
|
||||
@@ -93,7 +93,7 @@
|
||||
frame_width = 3
|
||||
|
||||
# Defines color of the frame around the notification window.
|
||||
frame_color = "#00D8CE"
|
||||
frame_color = "#5E88DD"
|
||||
|
||||
# Size of gap to display between notifications - requires a compositor.
|
||||
# If value is greater than 0, separator_height will be ignored and a border
|
||||
@@ -215,7 +215,7 @@
|
||||
max_icon_size = 128
|
||||
|
||||
# Paths to default icons (only neccesary when not using recursive icon lookup)
|
||||
icon_path = /usr/share/icons/Papirus/16x16/status/:/usr/share/icons/Papirus/16x16/devices/:/usr/share/icons/Papirus/16x16/panel/
|
||||
icon_path = /usr/share/icons/Papirus/16x16/status/:/usr/share/icons/Papirus/16x16/devices/:/usr/share/icons/Papirus/16x16/panel/:/usr/share/icons/Papirus/22x22/status/
|
||||
|
||||
### History ###
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
:y "50"
|
||||
:width "30%"
|
||||
:height "40px"
|
||||
:anchor "bottom left")
|
||||
:anchor "top left")
|
||||
:stacking "bg"
|
||||
:reserve (struts :distance "10px" :side "bottom")
|
||||
:windowtype "dock"
|
||||
@@ -74,7 +74,7 @@
|
||||
(circular-progress :class "music_bar" :value CURRENT :thickness 10 :clockwise true :start-at "${(CURRENT+75)%100}"
|
||||
(image :path "${song.cover}" :image-height 270 :image-width 270)))
|
||||
(box :orientation "v" :spacing 20 :space-evenly "false" :vexpand "false" :hexpand "false"
|
||||
(label :tooltip "${song.name}" :halign "center" :class "song" :wrap "false" :limit-width 20 :text "${song.name}")
|
||||
(label :tooltip "${song.name}" :halign "center" :class "song" :wrap "false" :limit-width 32 :text "${song.name}")
|
||||
(label :halign "center" :class "artist" :wrap "false" :limit-width 20 :text "${song.artist}")
|
||||
(box :orientation "h" :spacing 80 :halign "center" :space-evenly "true" :vexpand "false" :hexpand "false"
|
||||
(button :class "btn_controls" :tooltip "History : ${song.prev}" :onclick "./script prev" "")
|
||||
|
||||
@@ -49,7 +49,7 @@ box-drawings-uses-font-glyphs=yes
|
||||
# indicator-format=
|
||||
|
||||
[url]
|
||||
# launch=xdg-open ${url}
|
||||
launch=google-chrome-stable ${url}
|
||||
# label-letters=sadfjklewcmpgh
|
||||
# osc8-underline=url-mode
|
||||
# protocols=http, https, ftp, ftps, file, gemini, gopher
|
||||
|
||||
20
hypr/battery
Executable file
20
hypr/battery
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
|
||||
i=10
|
||||
dir="/sys/class/power_supply/BAT0/"
|
||||
icon_dir="/usr/share/icons/Papirus/22x22/panel/"
|
||||
|
||||
[ -n "$1" ] && printf "Sleep for %s seconds\n" "$i"
|
||||
|
||||
while sleep $i; do
|
||||
capacity_level=$(cat "$dir"/capacity_level)
|
||||
state=$(cat "$dir"/status)
|
||||
case $capacity_level in
|
||||
*ritical) i=10 ;;
|
||||
*ow) i=60 ;;
|
||||
*) i=300 ;;
|
||||
esac
|
||||
[ -n "$1" ] && printf "Sleep for %s seconds\n" "$i"
|
||||
[ "$state" = "Discharging" ] || continue
|
||||
[ "$capacity_level" != "Normal" ] && notify-send -i "$icon_dir/battery-010.svg" -h "string:x-canonical-private-synchronous:${0##*/}" "$(cat "$dir/capacity") Battery $capacity_level, Please Plugin Charger!!" -u "$capacity_level"
|
||||
done
|
||||
@@ -1,7 +1,9 @@
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
monitor=,highrr,auto,1.6
|
||||
monitor=,highrr,auto,1.6,bitdepth,10
|
||||
#monitor=,2880x1800@60.000999,auto,1.6,bitdepth,10
|
||||
|
||||
$hypr_dir="$HOME/.config/hypr"
|
||||
$accent=00D8CE
|
||||
$accent=5E88DD
|
||||
|
||||
#envs
|
||||
#env = LIBVA_DRIVER_NAME,nvidia
|
||||
@@ -37,7 +39,7 @@ general {
|
||||
gaps_out = 4
|
||||
border_size = 3
|
||||
col.active_border = rgb($accent)
|
||||
col.inactive_border = rgba(595959aa)
|
||||
col.inactive_border = rgba(484848aa)
|
||||
resize_on_border=false
|
||||
|
||||
layout = dwindle
|
||||
@@ -54,7 +56,7 @@ decoration {
|
||||
blur {
|
||||
enabled = yes
|
||||
size = 8
|
||||
passes = 3
|
||||
passes = 2
|
||||
}
|
||||
}
|
||||
|
||||
@@ -87,6 +89,7 @@ gestures {
|
||||
|
||||
misc {
|
||||
force_default_wallpaper = 0
|
||||
vfr = 1
|
||||
}
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
@@ -185,8 +188,9 @@ exec-once=dbus-update-activation-environment --systemd --all
|
||||
exec-once=ssh-agent
|
||||
exec-once=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
exec-once=node $HOME/github/arrpc/src > /tmp/arrpc-log
|
||||
#exec-once=swaybg -i $HOME/.config/wall/9.png
|
||||
exec-once=swaybg -i $HOME/.config/wall/18.png
|
||||
exec-once=xrdb -merge $HOME/.config/.Xresource
|
||||
exec-once=$hypr_dir/workspace 'focus'
|
||||
exec-once=sleep 2 && $hypr_dir/workspace
|
||||
exec-once=$hypr_dir/battery
|
||||
#exec-once=sleep 2 && $hypr_dir/workspace
|
||||
exec-once=google-chrome-stable
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 76 KiB |
@@ -10,9 +10,11 @@ while [ $i -le 5 ]; do
|
||||
temp=$((temp / 1000))
|
||||
bat_stats=$(cat /sys/class/power_supply/BAT0/status)
|
||||
vol_stats=$(pamixer --get-mute)
|
||||
charge=$(cat /sys/class/power_supply/BAT*/capacity)
|
||||
[ "$bat_stats" = "Discharging" ] && bat_icon=🔋 || bat_icon=🔌
|
||||
[ "$bat_stats" = "Discharging" ] && [ "$charge" -lt 20 ] && bat_icon="🪫"
|
||||
[ "$vol_stats" = "true" ] && vol_icon=🔇 || vol_icon=🔊
|
||||
notify-send -i "lol" "<----------(STATS)---------->" "🧠 CPU usage : $(top -ibn1 | sed -nE 's_%Cpu\(s\):(.*)us.*_\1_p' | cut -d' ' -f2-3) %\n🌡️ Cpu Temp : $temp °C\n🔳 RAM : $mem MB / $mem_total_mb MB\n$bat_icon Battery : $(cat /sys/class/power_supply/BAT*/capacity) (${bat_stats})\n☀️ Brightness : $(light -G | cut -d'.' -f1)%\n$vol_icon Volume : $(pamixer --get-volume-human)\n🎵 $(pgrep -af mpvsocket >/dev/null && cut -d ">" -f1 /tmp/yt-music/current | cut -d":" -f2)" -h "string:x-canonical-private-synchronous:${0##*/}" -t 1500 &
|
||||
notify-send -i "lol" "<----------(STATS)---------->" "🧠 CPU usage : $(top -ibn1 | sed -nE 's_%Cpu\(s\):(.*)us.*_\1_p' | cut -d' ' -f2-3) %\n🌡️ Cpu Temp : $temp °C\n🔳 RAM : $mem MB / $mem_total_mb MB\n$bat_icon Battery : $charge (${bat_stats})\n☀️ Brightness : $(light -G | cut -d'.' -f1)%\n$vol_icon Volume : $(pamixer --get-volume-human)\n🎵 $(pgrep -af mpvsocket >/dev/null && cut -d ">" -f1 /tmp/yt-music/current | cut -d":" -f2)" -h "string:x-canonical-private-synchronous:${0##*/}" -t 1500 &
|
||||
: $((i += 1))
|
||||
sleep 1
|
||||
done
|
||||
|
||||
BIN
hypr/wall_2K.png
BIN
hypr/wall_2K.png
Binary file not shown.
|
Before Width: | Height: | Size: 18 KiB |
BIN
hypr/wall_4K.png
BIN
hypr/wall_4K.png
Binary file not shown.
|
Before Width: | Height: | Size: 48 KiB |
BIN
hypr/wall_8K.png
BIN
hypr/wall_8K.png
Binary file not shown.
|
Before Width: | Height: | Size: 146 KiB |
@@ -97,7 +97,7 @@ end
|
||||
|
||||
|
||||
-- Enable some language servers with the additional completion capabilities offered by nvim-cmp
|
||||
local servers = { 'bashls', 'pyright', 'lua_ls', 'intelephense','phpactor' , 'html' ,'cssls'}
|
||||
local servers = { 'bashls', 'pyright', 'lua_ls', 'html' ,'cssls'}
|
||||
for _, lsp in ipairs(servers) do
|
||||
lspconfig[lsp].setup {
|
||||
capabilities = capabilities,
|
||||
|
||||
@@ -1,25 +1,25 @@
|
||||
{
|
||||
"LuaSnip": { "branch": "master", "commit": "2dbef19461198630b3d7c39f414d09fb07d1fdd2" },
|
||||
"LuaSnip": { "branch": "master", "commit": "f3b3d3446bcbfa62d638b1903ff00a78b2b730a1" },
|
||||
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
||||
"cmp-cmdline": { "branch": "main", "commit": "8ee981b4a91f536f52add291594e89fb6645e451" },
|
||||
"cmp-nvim-lsp": { "branch": "main", "commit": "5af77f54de1b16c34b23cba810150689a3a90312" },
|
||||
"cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" },
|
||||
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
||||
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
||||
"friendly-snippets": { "branch": "main", "commit": "b8fae73a479ae0a1c54f5c98fa687ae8a0addc53" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "28126922c9b54e35a192ac415788f202c3944c9f" },
|
||||
"friendly-snippets": { "branch": "main", "commit": "dbd45e9ba76d535e4cba88afa1b7aa43bb765336" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "aedcd79811d491b60d0a6577a9c1701063c2a609" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "7d131a8d3ba5016229e8a1d08bf8782acea98852" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "0954d7730e749d606ddf8d7ae8846848be435d53" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "60f6805b12a12e8a912aeb2f975dec1794a8994e" },
|
||||
"mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" },
|
||||
"monokai-pro.nvim": { "branch": "main", "commit": "8ba1fea7774e7c522b006091a9adb32b5cef95b9" },
|
||||
"nvim-autopairs": { "branch": "master", "commit": "096d0baecc34f6c5d8a6dd25851e9d5ad338209b" },
|
||||
"nvim-autopairs": { "branch": "master", "commit": "90f824d37c0cb079d2764927e73af77faa9ba0ef" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "04e0ca376d6abdbfc8b52180f8ea236cbfddf782" },
|
||||
"nvim-colorizer.lua": { "branch": "master", "commit": "36c610a9717cc9ec426a07c8e6bf3b3abcb139d6" },
|
||||
"nvim-dap": { "branch": "master", "commit": "9adbfdca13afbe646d09a8d7a86d5d031fb9c5a5" },
|
||||
"nvim-dap-python": { "branch": "master", "commit": "f5b6f3a90aae0284b61fb3565e575267c19a16e6" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "d12140c5687a1186b95b3f42dbc6cc769df0cf0d" },
|
||||
"nvim-dap": { "branch": "master", "commit": "fc880e82059eb21c0fa896be60146e5f17680648" },
|
||||
"nvim-dap-python": { "branch": "master", "commit": "66560f0ebddf96604f7037e1efad3ba6942761e6" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "aa199c5bbdbb7fd28b56212a89206f13db02799e" },
|
||||
"nvim-parinfer": { "branch": "master", "commit": "5ca09287ab3f4144f78ff7977fabc27466f71044" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "4fbf150a1621d52f17b099506e1a32f107079210" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "d1484a1507b36ca6af7f7925c627846010faeabe" },
|
||||
"packer.nvim": { "branch": "master", "commit": "ea0cc3c59f67c440c5ff0bbe4fb9420f4350b9a3" },
|
||||
"telescope.nvim": { "branch": "master", "commit": "236083884cfe6c874e03e6cb4e7cb08809c1333c" }
|
||||
"telescope.nvim": { "branch": "master", "commit": "b744cf59752aaa01561afb4223006de26f3836fd" }
|
||||
}
|
||||
39
nvtop/interface.ini
Normal file
39
nvtop/interface.ini
Normal file
@@ -0,0 +1,39 @@
|
||||
; Please do not edit this file.
|
||||
; The file is automatically generated and modified by nvtop by pressing F12.
|
||||
; If you wish to modify an option, use nvtop's setup window (F2) and follow up by saving the preference (F12).
|
||||
[GeneralOption]
|
||||
UseColor = true
|
||||
UpdateInterval = 1000
|
||||
ShowInfoMessages = true
|
||||
|
||||
[HeaderOption]
|
||||
UseFahrenheit = false
|
||||
EncodeHideTimer = 3.000000e+01
|
||||
|
||||
[ChartOption]
|
||||
ReverseChart = false
|
||||
|
||||
[ProcessListOption]
|
||||
HideNvtopProcess = true
|
||||
SortOrder = descending
|
||||
SortBy = memory
|
||||
DisplayField = pId
|
||||
DisplayField = user
|
||||
DisplayField = gpuId
|
||||
DisplayField = type
|
||||
DisplayField = gpuRate
|
||||
DisplayField = encRate
|
||||
DisplayField = decRate
|
||||
DisplayField = memory
|
||||
DisplayField = cpuUsage
|
||||
DisplayField = cpuMem
|
||||
DisplayField = cmdline
|
||||
|
||||
[Device]
|
||||
Pdev = 0000:04:00.0
|
||||
Monitor = true
|
||||
ShownInfo = gpuRate
|
||||
ShownInfo = gpuMemRate
|
||||
ShownInfo = encodeRate
|
||||
ShownInfo = decodeRate
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
color_scheme_path=/usr/share/qt5ct/colors/darker.conf
|
||||
custom_palette=true
|
||||
icon_theme=ePapirus-Dark
|
||||
standard_dialogs=gtk3
|
||||
standard_dialogs=xdgdesktopportal
|
||||
style=Fusion
|
||||
|
||||
[Fonts]
|
||||
@@ -25,7 +25,7 @@ underline_shortcut=1
|
||||
wheel_scroll_lines=3
|
||||
|
||||
[SettingsWindow]
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x3\xb3\0\0\x4)\0\0\0\0\0\0\0\0\0\0\a\x7f\0\0\x4\x37\0\0\0\0\x2\0\0\0\a\x80\0\0\0\0\0\0\0\0\0\0\x3\xb3\0\0\x4))
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x3v\0\0\x4U\0\0\0\0\0\0\0\0\0\0\a\x7f\0\0\x4\x37\0\0\0\0\x2\0\0\0\a\a\0\0\0\0\0\0\0\0\0\0\x3v\0\0\x4U)
|
||||
|
||||
[Troubleshooting]
|
||||
force_raster_widgets=1
|
||||
|
||||
BIN
wall/18.png
Normal file
BIN
wall/18.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.1 MiB |
@@ -126,7 +126,7 @@ help() {
|
||||
|
||||
addpkg() {
|
||||
[ -z "$*" ] && printf "\033[1;31mPlease write the name of package (just some words)..\033[0m" && return 1
|
||||
paru -Ss "$*" | sed -nE 's|^([a-z]*)/([^ ]*).*|[\1] \2|p' | fzf --layout=reverse --border -1 --preview 'paru -Si $(echo {} | cut -d" " -f2) | bat --language=yaml --color=always -pp' --preview-window right:65%:wrap -m | cut -d' ' -f2- | paru -S -
|
||||
paru -Ss "$*" | sed -nE 's|^([a-zA-Z]*)/([^ ]*).*|[\1] \2|p' | fzf --layout=reverse --border --preview 'paru -Si $(echo {} | cut -d" " -f2) | bat --language=yaml --color=always -pp' --preview-window right:65%:wrap -m | cut -d' ' -f2- | paru -S -
|
||||
}
|
||||
|
||||
rmpkg() {
|
||||
|
||||
Reference in New Issue
Block a user