updates
This commit is contained in:
1 parent
13a05b0aeb
commit
27317c5032
10 files changed
+355
-356
No files matched your search
@@ -10,6 +10,7 @@ $RunCMD = $scriptsDir/RunCMD.sh
|
||||
|
||||
# Categories (for script)
|
||||
#! @actions: Actions
|
||||
#! @tools: Tools
|
||||
#! @apps: Applications
|
||||
#! @windows: Windows
|
||||
#! @workspaces: Workspaces
|
||||
@@ -23,7 +24,7 @@ bind = $mainMod CTRL, L, exec, pidof hyprlock || hyprlock -q #! @description: "
|
||||
bind = $mainMod CTRL, P, exec, systemctl poweroff #! @description: "ShutDown"; @actions;
|
||||
bind = $mainMod CTRL, R, exec, systemctl reboot #! @description: "Restart"; @actions;
|
||||
bind = $mainMod CTRL, Q, exec, loginctl kill-session $XDG_SESSION_ID #! @description: "LogOut"; @actions;
|
||||
|
||||
bind = CTRL SHIFT, R, exec, pkill ags ; ags
|
||||
|
||||
# Terminals
|
||||
bind = ALT SHIFT,Return, exec, kitty --title Kitty --single-instance #! @description: "Terminal Float"; @apps;
|
||||
|
||||
@@ -26,7 +26,6 @@ general {
|
||||
gaps_in = 5
|
||||
gaps_out = 14
|
||||
border_size = 0
|
||||
resize_on_border = true
|
||||
|
||||
col.active_border = $border_color_active
|
||||
col.inactive_border = $border_color_inactive
|
||||
@@ -97,7 +96,7 @@ animations {
|
||||
|
||||
|
||||
input {
|
||||
kb_layout=us,np
|
||||
kb_layout = us,np
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
general {
|
||||
resize_on_border = true
|
||||
}
|
||||
@@ -0,0 +1,211 @@
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
|
||||
# Opacity Rules
|
||||
windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$
|
||||
windowrulev2 = opacity 0.9 0.6, class:^(yad)$
|
||||
windowrulev2 = opacity 0.9 0.6, class:^(mousepad)$
|
||||
windowrulev2 = opacity 0.9 0.9, class:^(geany)$
|
||||
windowrulev2 = opacity 0.80 0.70,class:^(nm-applet)$
|
||||
windowrulev2 = opacity 0.80 0.70,class:^(nm-connection-editor)$
|
||||
|
||||
# Xwaylandvideobridge (if installed)
|
||||
windowrulev2 = opacity 0.0 override,class:^(xwaylandvideobridge)$
|
||||
windowrulev2 = noanim,class:^(xwaylandvideobridge)$
|
||||
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
|
||||
windowrulev2 = maxsize 1 1,class:^(xwaylandvideobridge)$
|
||||
windowrulev2 = noblur,class:^(xwaylandvideobridge)$
|
||||
|
||||
# Workspace Rules
|
||||
windowrule = workspace 5, ^(.*vlc*)$
|
||||
|
||||
#windowrule = stayfocused, ^(com.github.Aylur.ags)$
|
||||
windowrule = float, ^(com.github.Aylur.ags)$
|
||||
|
||||
# MPV
|
||||
windowrule = workspace 5, ^(.*mpv*)$
|
||||
windowrulev2 = float, class:^(.*mpv.*)
|
||||
windowrulev2 = size 70% 70%, class:^(.*mpv.*)
|
||||
|
||||
|
||||
# Do not lose focus when rofi or gnome polkit is opened
|
||||
windowrulev2 = stayfocused, class:(rofi)
|
||||
windowrulev2 = stayfocused, class:(polkit-gnome-authentication-agent-1)
|
||||
|
||||
# Pavucontrol
|
||||
windowrulev2 = float, class:(pavucontrol)
|
||||
windowrulev2 = size 533 533, class:(pavucontrol)
|
||||
windowrulev2 = center, class:(pavucontrol)
|
||||
|
||||
# Zathura
|
||||
$zathura = class:^(.*zathura.*)$
|
||||
windowrulev2 = float, $zathura
|
||||
windowrulev2 = size 35% 90%, $zathura
|
||||
windowrulev2 = center 1, $zathura
|
||||
|
||||
|
||||
# OBS
|
||||
|
||||
# Main window / Profile screen
|
||||
windowrulev2 = size 75% 70%, class:(com.obsproject.Studio), title:(.*Profile:.*)
|
||||
|
||||
# Class settings
|
||||
windowrulev2 = workspace 9, class:(com.obsproject.Studio)
|
||||
windowrulev2 = float, class:(com.obsproject.Studio)
|
||||
windowrulev2 = center, class:(com.obsproject.Studio)
|
||||
|
||||
# Folder picker
|
||||
windowrulev2 = size 50% 45%, class:(com.obsproject.Studio), title:(Select Recording Directory)
|
||||
windowrulev2 = center, class:(com.obsproject.Studio), title:(Select Recording Directory)
|
||||
|
||||
|
||||
# Fireox class settings
|
||||
windowrulev2 = workspace 3, class:^(firefox)$
|
||||
windowrulev2 = workspace 3, class:^(qutebrowser)$
|
||||
windowrulev2 = workspace 3, class:^(Firefox-esr)$
|
||||
windowrulev2 = opacity 0.9 0.9, class:^(firefox)$
|
||||
windowrulev2 = opacity 0.95 0.95,title:^(Picture-in-Picture)$
|
||||
windowrulev2 = pin,title:^(Picture-in-Picture)$
|
||||
windowrulev2 = float, title:^(Picture-in-Picture)$
|
||||
windowrulev2 = size 25% 25%,title:^(Picture-in-Picture)$
|
||||
windowrulev2 = move 72% 7%,title:^(Picture-in-Picture)$
|
||||
windowrulev2 = idleinhibit fullscreen, class:^(.*firefox.*)$
|
||||
|
||||
# Thunar
|
||||
windowrulev2 = size 456 884, title:(.*Compress.*), class:(thunar)
|
||||
windowrulev2 = center, title:(.*Compress.*), class:(thunar)
|
||||
windowrulev2 = float, title:(.*Compress.*), class:(thunar)
|
||||
|
||||
windowrulev2 = size 516 158, title:(.*Rename.*), class:(thunar)
|
||||
windowrulev2 = center, title:(.*Rename.*), class:(thunar)
|
||||
|
||||
windowrulev2 = size 950 270, title:(Confirm to replace files), class:(thunar)
|
||||
windowrulev2 = center, title:(Confirm to replace files), class:(thunar)
|
||||
windowrulev2 = float,title:^(Confirm to replace files)
|
||||
|
||||
windowrulev2 = size 444 103, title:(File Operation Progress), class:(thunar)
|
||||
windowrulev2 = center, title:(File Operation Progress), class:(thunar)
|
||||
|
||||
windowrulev2 = size 565 591, class:(thunar), title:(Properties)
|
||||
windowrulev2 = center, class:(thunar), title:(Properties)
|
||||
|
||||
windowrulev2 = size 477 149, class:(thunar), title:(Create New Folder)
|
||||
windowrulev2 = center, class:(thunar), title:(Create New Folder)
|
||||
|
||||
windowrulev2 = workspace 4, class:(thunar)
|
||||
windowrulev2 = opacity 0.9 0.9, class:^([Tt]hunar)$
|
||||
#windowrulev2 = float, class:(thunar)
|
||||
#windowrulev2 = size 1161 619, class:(thunar)
|
||||
#windowrulev2 = center, class:(thunar)
|
||||
|
||||
|
||||
# File / Folder pickers
|
||||
$center-float = class:^(center-float)$|^(.*file-roller.*)$|^(.*FileRoller.*)$
|
||||
$center-float-title = title:^(.*Open Folder.*)$|^(.*Open File.*)$|^(.*Save File.*)$|^(.*Save Folder.*)$|^(.*Save Image.*)$|^(.*Save As.*)$|^(.*Open As.*)$
|
||||
windowrulev2 = float, $center-float
|
||||
windowrulev2 = float, $center-float-title
|
||||
windowrulev2 = size 50% 50%, $center-float
|
||||
windowrulev2 = size 50% 50%, $center-float-title
|
||||
windowrulev2 = center 1, $center-float
|
||||
windowrulev2 = center 1, $center-float-title
|
||||
|
||||
|
||||
# VS Code
|
||||
windowrulev2 = workspace 2, class:^(.*Code.*)$|(.*codium.*)$|(.*VSCodium.*)
|
||||
windowrulev2 = opacity 0.9 0.9, class:^(.*Code.*)$|(.*codium.*)$|(.*codium-url-handler.*)$|(.*VSCodium.*)
|
||||
|
||||
|
||||
# Telegram
|
||||
# windowrulev2 = fullscreen, class:(org.telegram.desktop), title:(Media viewer)
|
||||
|
||||
windowrulev2 = opacity 0.90, class:^(org.telegram.desktop)$
|
||||
windowrulev2 = workspace 6, class:(org.telegram.desktop)
|
||||
windowrulev2 = size 833 455, class:(org.telegram.desktop), title:(Choose Files)
|
||||
windowrulev2 = center, class:(org.telegram.desktop), title:(Choose Files)
|
||||
#windowrulev2 = float, class:^(org.telegram.desktop)$
|
||||
#windowrulev2 = center, class:^(org.telegram.desktop)$
|
||||
#windowrulev2 = size 800 800, class:^(org.telegram.desktop)$
|
||||
|
||||
# discord
|
||||
windowrulev2 = workspace 7, class:^(.*discord.*)$|(.*vesktop.*)$|(.*WebCord.*)$
|
||||
|
||||
# File Roller
|
||||
windowrulev2 = workspace 4, class:(file-roller), title:(Archive Manager)
|
||||
windowrulev2 = float, class:(file-roller), title:(Archive Manager)
|
||||
windowrulev2 = size 45% 50%, class:(file-roller), title:(Archive Manager)
|
||||
windowrulev2 = center, class:(file-roller), title:(Archive Manager)
|
||||
windowrulev2 = float, class:(file-roller), title:(Extract archive)
|
||||
windowrulev2 = size 30% 15%, class:(file-roller), title:(Extract archive)
|
||||
windowrulev2 = center, class:(file-roller), title:(Extract archive)
|
||||
|
||||
|
||||
# qBittorrent
|
||||
windowrulev2 = workspace 9, class:(org.qbittorrent.qBittorrent)
|
||||
windowrulev2 = float, class:(org.qbittorrent.qBittorrent)
|
||||
windowrulev2 = size 1137 547, class:(org.qbittorrent.qBittorrent), title:(.*qbittorrent.*)
|
||||
windowrulev2 = center, class:(org.qbittorrent.qBittorrent), title:(.*qbittorrent.*)
|
||||
|
||||
|
||||
# Kitty
|
||||
windowrule = opacity 0.9 0.9,kitty
|
||||
windowrule = float, title:^(Kitty)$
|
||||
windowrule = size 800 500, title:^(Kitty)$
|
||||
windowrule = move center, title:^(Kitty)$
|
||||
windowrule = animation slide, title:^(Kitty)$
|
||||
windowrule = float, title:^(Kitty)$
|
||||
windowrule = float, kitty_float
|
||||
|
||||
|
||||
# Bluetooth applet
|
||||
windowrulev2 = float, class:(blueman)
|
||||
windowrulev2 = size 680 665, class:(blueman)
|
||||
windowrulev2 = center, class:(blueman)
|
||||
|
||||
|
||||
# IMV image viewer
|
||||
$center-float-large = class:^(center-float-large)$|^(.*imv.*)$|^(.*imv-dir.*)$
|
||||
windowrulev2 = float, $center-float-large
|
||||
windowrulev2 = size 70% 70%, $center-float-large
|
||||
windowrulev2 = center 1, $center-float-large
|
||||
|
||||
|
||||
# qt5ct / qt6ct
|
||||
windowrulev2 = float, class:(qt5ct)
|
||||
windowrulev2 = float, class:(qt6ct)
|
||||
|
||||
windowrulev2 = size 1256 689, class:(qt5ct)
|
||||
windowrulev2 = size 1256 689, class:(qt6ct)
|
||||
|
||||
windowrulev2 = center, class:(qt5ct)
|
||||
windowrulev2 = center, class:(qt6ct)
|
||||
|
||||
windowrulev2 = size 257 116, class:(qt5ct), title:(Enter Color Scheme Name)
|
||||
windowrulev2 = size 257 116, class:(qt6ct), title:(Enter Color Scheme Name)
|
||||
|
||||
windowrulev2 = size 548 476, class:(qt5ct), title:(Select Color)
|
||||
windowrulev2 = size 548 476, class:(qt6ct), title:(Select Color)
|
||||
|
||||
|
||||
# Other
|
||||
windowrule = float, nm-connection-editor|vlc|yad|rofi|Lxappearance
|
||||
windowrule = float, org.kde.polkit-kde-authentication-agent-1
|
||||
windowrulev2 = size 543 239, class:^(polkit-gnome-authentication-agent-1)$
|
||||
windowrulev2 = float, class:^(polkit-gnome-authentication-agent-1)$
|
||||
windowrulev2 = center, class:(polkit-gnome-authentication-agent-1)
|
||||
|
||||
windowrulev2 = float, title:(File Operation Progress)
|
||||
windowrulev2 = center, title:(File Operation Progress)
|
||||
|
||||
|
||||
|
||||
# Layer Rules
|
||||
layerrule = noanim, hyprpicker
|
||||
|
||||
layerrule = noanim, noanim
|
||||
layerrule = blur, gtk-layer-shell
|
||||
layerrule = ignorezero, gtk-layer-shell
|
||||
layerrule = blur, launcher
|
||||
layerrule = ignorealpha 0.5, launcher
|
||||
layerrule = blur, notifications
|
||||
layerrule = ignorealpha 0.69, notifications
|
||||
|
||||
layerrule = noanim, notifications
|
||||
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||
<svg height="800px" width="800px" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
viewBox="0 0 512 512" xml:space="preserve">
|
||||
<path style="fill:#FF6465;" d="M256.002,503.671c136.785,0,247.671-110.886,247.671-247.672S392.786,8.329,256.002,8.329
|
||||
S8.33,119.215,8.33,256.001S119.216,503.671,256.002,503.671z"/>
|
||||
<path style="opacity:0.1;enable-background:new ;" d="M74.962,256.001c0-125.485,93.327-229.158,214.355-245.434
|
||||
c-10.899-1.466-22.016-2.238-33.316-2.238C119.216,8.329,8.33,119.215,8.33,256.001s110.886,247.672,247.671,247.672
|
||||
c11.3,0,22.417-0.772,33.316-2.238C168.289,485.159,74.962,381.486,74.962,256.001z"/>
|
||||
<path style="fill:#FFFFFF;" d="M311.525,256.001l65.206-65.206c4.74-4.74,4.74-12.425,0-17.163l-38.36-38.36
|
||||
c-4.74-4.74-12.425-4.74-17.164,0l-65.206,65.206l-65.206-65.206c-4.74-4.74-12.425-4.74-17.163,0l-38.36,38.36
|
||||
c-4.74,4.74-4.74,12.425,0,17.163l65.206,65.206l-65.206,65.206c-4.74,4.74-4.74,12.425,0,17.164l38.36,38.36
|
||||
c4.74,4.74,12.425,4.74,17.163,0l65.206-65.206l65.206,65.206c4.74,4.74,12.425,4.74,17.164,0l38.36-38.36
|
||||
c4.74-4.74,4.74-12.425,0-17.164L311.525,256.001z"/>
|
||||
<path d="M388.614,182.213c0-5.467-2.129-10.607-5.995-14.471l-38.36-38.36c-3.865-3.865-9.004-5.994-14.471-5.994
|
||||
s-10.605,2.129-14.471,5.994l-59.316,59.316l-59.316-59.316c-3.865-3.865-9.004-5.994-14.471-5.994
|
||||
c-5.467,0-10.606,2.129-14.471,5.994l-38.36,38.36c-7.979,7.979-7.979,20.962,0,28.943l59.316,59.316l-59.316,59.316
|
||||
c-7.979,7.979-7.979,20.962,0,28.943l38.36,38.36c3.865,3.865,9.004,5.993,14.471,5.993c5.467,0,10.606-2.129,14.471-5.993
|
||||
l59.316-59.316l59.316,59.316c3.865,3.865,9.004,5.993,14.471,5.993s10.605-2.129,14.471-5.993l38.36-38.36
|
||||
c3.866-3.865,5.995-9.004,5.995-14.471c0-5.467-2.129-10.607-5.995-14.471l-59.315-59.316l59.315-59.315
|
||||
C386.485,192.818,388.614,187.68,388.614,182.213z M370.84,184.905l-65.204,65.206c-3.253,3.253-3.253,8.527,0,11.778l65.204,65.207
|
||||
c0.971,0.971,1.115,2.103,1.115,2.692c0,0.589-0.144,1.721-1.115,2.692l-38.36,38.36c-0.971,0.971-2.103,1.115-2.692,1.115
|
||||
c-0.589,0-1.722-0.144-2.692-1.115l-65.206-65.206c-1.626-1.626-3.758-2.44-5.889-2.44c-2.131,0-4.263,0.813-5.889,2.44
|
||||
l-65.206,65.206c-0.971,0.971-2.103,1.115-2.692,1.115c-0.59,0-1.722-0.144-2.693-1.115l-38.36-38.36
|
||||
c-1.484-1.485-1.484-3.9,0-5.385l65.206-65.206c3.253-3.253,3.253-8.527,0-11.778l-65.206-65.206c-1.484-1.485-1.484-3.9,0-5.385
|
||||
l38.359-38.36c0.971-0.971,2.104-1.115,2.693-1.115s1.722,0.144,2.692,1.115l65.206,65.206c3.253,3.253,8.527,3.253,11.778,0
|
||||
l65.206-65.206c0.971-0.971,2.103-1.115,2.692-1.115c0.589,0,1.722,0.144,2.692,1.115l38.36,38.36
|
||||
c0.971,0.971,1.115,2.103,1.115,2.692S371.811,183.934,370.84,184.905z"/>
|
||||
<path d="M423.9,73.756c-3.229,3.276-3.191,8.55,0.086,11.778c46.016,45.349,71.358,105.89,71.358,170.466
|
||||
c0,63.931-24.896,124.035-70.102,169.241s-105.31,70.102-169.241,70.102c-35.385,0-69.471-7.555-101.311-22.455
|
||||
c-4.166-1.95-9.124-0.153-11.074,4.013c-1.95,4.166-0.153,9.124,4.013,11.074C181.695,503.917,218.156,512,255.999,512
|
||||
c68.381,0,132.668-26.629,181.019-74.982c48.352-48.352,74.98-112.64,74.98-181.019c0-69.072-27.106-133.825-76.323-182.331
|
||||
C432.401,70.44,427.128,70.478,423.9,73.756z"/>
|
||||
<path d="M116.34,470.563c1.405,0.916,2.982,1.354,4.542,1.354c2.72,0,5.387-1.332,6.984-3.78c2.513-3.852,1.427-9.013-2.426-11.526
|
||||
c-68.115-44.424-108.78-119.419-108.78-200.611c0-63.931,24.896-124.035,70.102-169.24c45.206-45.206,105.31-70.102,169.241-70.102
|
||||
c52.234,0,101.864,16.528,143.525,47.796c3.679,2.761,8.9,2.017,11.66-1.662c2.761-3.679,2.017-8.9-1.662-11.661
|
||||
C364.958,17.681,311.87,0,256.002,0c-68.38,0-132.668,26.629-181.019,74.98C26.63,123.333,0.001,187.62,0.001,255.999
|
||||
C0.001,342.841,43.493,423.051,116.34,470.563z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.8 KiB |
@@ -6,6 +6,7 @@ $mainMod = SUPER
|
||||
|
||||
# Categories (for script)
|
||||
#! @actions: Actions
|
||||
#! @tools: Tools
|
||||
#! @apps: Applications
|
||||
#! @windows: Windows
|
||||
#! @workspaces: Workspaces
|
||||
|
||||
@@ -16,6 +16,7 @@ source= $UserConfigs/Monitors.conf
|
||||
source= $UserConfigs/Laptops.conf
|
||||
source= $UserConfigs/LaptopDisplay.conf
|
||||
source= $UserConfigs/WindowRules.conf
|
||||
source= $UserConfigs/custom.conf
|
||||
source= $UserConfigs/UserKeybinds.conf
|
||||
source= $UserConfigs/UserSettings.conf
|
||||
|
||||
+97
-150
@@ -1,175 +1,122 @@
|
||||
$rosewater = rgb(f5e0dc)
|
||||
$rosewaterAlpha = f5e0dc
|
||||
|
||||
$flamingo = rgb(f2cdcd)
|
||||
$flamingoAlpha = f2cdcd
|
||||
|
||||
$pink = rgb(f5c2e7)
|
||||
$pinkAlpha = f5c2e7
|
||||
|
||||
$mauve = rgb(cba6f7)
|
||||
$mauveAlpha = cba6f7
|
||||
|
||||
$red = rgb(f38ba8)
|
||||
$redAlpha = f38ba8
|
||||
|
||||
$maroon = rgb(eba0ac)
|
||||
$maroonAlpha = eba0ac
|
||||
|
||||
$peach = rgb(fab387)
|
||||
$peachAlpha = fab387
|
||||
|
||||
$yellow = rgb(f9e2af)
|
||||
$yellowAlpha = f9e2af
|
||||
|
||||
$green = rgb(a6e3a1)
|
||||
$greenAlpha = a6e3a1
|
||||
|
||||
$teal = rgb(94e2d5)
|
||||
$tealAlpha = 94e2d5
|
||||
|
||||
$sky = rgb(89dceb)
|
||||
$skyAlpha = 89dceb
|
||||
|
||||
$sapphire = rgb(74c7ec)
|
||||
$sapphireAlpha = 74c7ec
|
||||
|
||||
$blue = rgb(89b4fa)
|
||||
$blueAlpha = 89b4fa
|
||||
|
||||
$lavender = rgb(b4befe)
|
||||
$lavenderAlpha = b4befe
|
||||
|
||||
$text = rgb(cdd6f4)
|
||||
$textAlpha = cdd6f4
|
||||
|
||||
$subtext1 = rgb(bac2de)
|
||||
$subtext1Alpha = bac2de
|
||||
|
||||
$subtext0 = rgb(a6adc8)
|
||||
$subtext0Alpha = a6adc8
|
||||
|
||||
$overlay2 = rgb(9399b2)
|
||||
$overlay2Alpha = 9399b2
|
||||
|
||||
$overlay1 = rgb(7f849c)
|
||||
$overlay1Alpha = 7f849c
|
||||
|
||||
$overlay0 = rgb(6c7086)
|
||||
$overlay0Alpha = 6c7086
|
||||
|
||||
$surface2 = rgb(585b70)
|
||||
$surface2Alpha = 585b70
|
||||
|
||||
$surface1 = rgb(45475a)
|
||||
$surface1Alpha = 45475a
|
||||
|
||||
$surface0 = rgb(313244)
|
||||
$surface0Alpha = 313244
|
||||
|
||||
$base = rgb(1e1e2e)
|
||||
$baseAlpha = 1e1e2e
|
||||
|
||||
$mantle = rgb(181825)
|
||||
$mantleAlpha = 181825
|
||||
|
||||
$crust = rgb(11111b)
|
||||
$crustAlpha = 11111by
|
||||
|
||||
# BACKGROUND
|
||||
background {
|
||||
monitor =
|
||||
color = #FFFFFF
|
||||
|
||||
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
|
||||
blur_size = 4
|
||||
blur_passes = 3 # 0 disables blurring
|
||||
noise = 0.0117
|
||||
contrast = 1.3000 # Vibrant!!!
|
||||
brightness = 0.8000
|
||||
vibrancy = 0.2100
|
||||
path = ~/.cache/current_wallpaper.png
|
||||
blur_passes = 3
|
||||
contrast = 0.8916
|
||||
brightness = 0.8172
|
||||
vibrancy = 0.1696
|
||||
vibrancy_darkness = 0.0
|
||||
}
|
||||
|
||||
input-field {
|
||||
monitor =
|
||||
size = 160, 26
|
||||
rounding = 8
|
||||
outline_thickness = 2
|
||||
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
|
||||
dots_spacing = 0.64 # Scale of dots' absolute size, 0.0 - 1.0
|
||||
dots_center = true
|
||||
outer_color = $subtext0
|
||||
inner_color = $surface0
|
||||
font_color = $subtext0
|
||||
check_color = $yellow
|
||||
fail_color = $red
|
||||
fade_on_empty = true
|
||||
placeholder_text = <i>Password...</i> # Text rendered in the input box when it's empty.
|
||||
hide_input = false
|
||||
fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i
|
||||
fail_transition = 300 # transition time in ms between normal outer_color and fail_color
|
||||
capslock_color = -1
|
||||
numlock_color = -1
|
||||
bothlock_color = -1 # when both locks are active. -1 means don't change outer color (same for above)
|
||||
invert_numlock = false # change color if numlock is off
|
||||
swap_font_color = true
|
||||
position = 0, 60
|
||||
halign = center
|
||||
valign = bottom
|
||||
# GENERAL
|
||||
general {
|
||||
no_fade_in = false
|
||||
grace = 0
|
||||
disable_loading_bar = false
|
||||
}
|
||||
|
||||
# Current time
|
||||
|
||||
# Day-Month-Date
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "<b><big> $(date +"%H:%M") </big></b>"
|
||||
color = rgba(255,255,255, 0.85)
|
||||
font_size = 44
|
||||
font_family = SF Mono Nerd Font Mono 10
|
||||
shadow_passes = 3
|
||||
shadow_size = 4
|
||||
position = 0, -60
|
||||
text = cmd[update:1000] echo -e "$(date +"%A, %B %d")"
|
||||
color = rgba(216, 222, 233, 0.70)
|
||||
font_size = 25
|
||||
font_family = SF Pro Display Bold
|
||||
position = 0, 350
|
||||
halign = center
|
||||
valign = top
|
||||
valign = center
|
||||
}
|
||||
|
||||
# Date
|
||||
# Time
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:18000000] echo "<b> "$(date +'%A %-d %B')" </b>"
|
||||
color = rgba(255,255,255, 0.8)
|
||||
font_size = 11
|
||||
font_family = SF Mono Nerd Font Mono Light 10
|
||||
shadow_passes = 3
|
||||
shadow_size = 3
|
||||
position = 0, -40
|
||||
text = cmd[update:1000] echo "<span>$(date +"%I:%M %P")</span>"
|
||||
color = rgba(216, 222, 233, 0.70)
|
||||
font_size = 120
|
||||
font_family = SF Pro Display Bold
|
||||
position = 0, 250
|
||||
halign = center
|
||||
valign = top
|
||||
valign = center
|
||||
}
|
||||
|
||||
label {
|
||||
monitor =
|
||||
text = HEY! <span text_transform="uppercase">$USER</span>
|
||||
color = $color1
|
||||
font_size = 8
|
||||
font_family = SF Mono Nerd Font Mono
|
||||
opacity = 0.5
|
||||
position = 0, 30
|
||||
halign = center
|
||||
valign = bottom
|
||||
}
|
||||
|
||||
# User Image
|
||||
# Profie-Photo
|
||||
image {
|
||||
monitor =
|
||||
size = 50
|
||||
border_size = 2
|
||||
border_color = $subtext0
|
||||
path = ~/.face.icon
|
||||
shadow_passes = 2
|
||||
border_size = 2
|
||||
border_color = rgba(255, 255, 255, .65)
|
||||
size = 130
|
||||
rounding = -1
|
||||
rotate = 0
|
||||
reload_time = -1
|
||||
reload_cmd =
|
||||
rounding = -1 # negative values mean circle
|
||||
position = 0, 105
|
||||
position = 0, 40
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# USER-BOX
|
||||
shape {
|
||||
monitor =
|
||||
size = 300, 60
|
||||
color = rgba(255, 255, 255, .1)
|
||||
rounding = -1
|
||||
border_size = 0
|
||||
border_color = rgba(253, 198, 135, 0)
|
||||
rotate = 0
|
||||
xray = false # if true, make a "hole" in the background (rectangle of specified size, no rotation)
|
||||
|
||||
position = 0, -130
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# USER
|
||||
label {
|
||||
monitor =
|
||||
text = $USER
|
||||
color = rgba(216, 222, 233, 0.80)
|
||||
outline_thickness = 2
|
||||
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
|
||||
dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0
|
||||
dots_center = true
|
||||
font_size = 18
|
||||
font_family = SF Pro Display Bold
|
||||
position = 0, -130
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# INPUT FIELD
|
||||
input-field {
|
||||
monitor =
|
||||
size = 300, 60
|
||||
outline_thickness = 2
|
||||
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
|
||||
dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0
|
||||
dots_center = true
|
||||
outer_color = rgba(0, 0, 0, 0)
|
||||
inner_color = rgba(255, 255, 255, 0.1)
|
||||
font_color = rgb(200, 200, 200)
|
||||
fade_on_empty = false
|
||||
font_family = SF Pro Display Bold
|
||||
placeholder_text = <i><span foreground="##ffffff99">🔒 Enter Pass</span></i>
|
||||
hide_input = false
|
||||
position = 0, -210
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# CURRENT SONG
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "$(/home/vivek/.config/hypr/scripts/songdetail.sh)"
|
||||
color = rgba(255, 255, 255, 0.6)
|
||||
font_size = 18
|
||||
font_family = JetBrains Mono Nerd, SF Pro Display Bold
|
||||
position = 0, 50
|
||||
halign = center
|
||||
valign = bottom
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
PREV_STATUS="Unknown" # Initialize previous status
|
||||
FULL_CHARGE_NOTIFIED=0
|
||||
LOW_BATTERY_NOTIFIED=0
|
||||
|
||||
while true; do
|
||||
STATUS=$(cat /sys/class/power_supply/AC/online 2>/dev/null) # Get charger status using power supply directory
|
||||
|
||||
if [ "$STATUS" != "$PREV_STATUS" ]; then # Check if the charger status has changed
|
||||
FULL_CHARGE_NOTIFIED=0 # Reset full charge notification state when charger status changes
|
||||
LOW_BATTERY_NOTIFIED=0 # Reset low battery notification state when charger status changes
|
||||
PREV_STATUS="$STATUS" # Update previous status
|
||||
fi
|
||||
|
||||
# Get battery percentage and remaining time using acpi
|
||||
BATTERY_INFO=$(acpi)
|
||||
PERCENT=$(echo "$BATTERY_INFO" | awk -F ',|%' '{print $2}')
|
||||
|
||||
if [ "$STATUS" == "1" ] && [ "$PERCENT" -eq 100 ] && [ "$FULL_CHARGE_NOTIFIED" -eq 0 ]; then # Check if the battery is charging and the percentage is 100%
|
||||
notify-send -u low "🔌 Battery Fully Charged" "You can unplug the charger" # Send a notification when the battery is fully charged
|
||||
FULL_CHARGE_NOTIFIED=1 # Set the state to indicate that the full charge notification has been sent
|
||||
fi
|
||||
|
||||
if [ "$PERCENT" -le 40 ] && [ "$LOW_BATTERY_NOTIFIED" -eq 0 ]; then # Check if the battery percentage is less than or equal to 20% and low battery notification has not been sent
|
||||
notify-send -u critical "🪫 Low Battery" "Plug in the charger" # Send low battery notification
|
||||
LOW_BATTERY_NOTIFIED=1 # Set the state to indicate that the low battery notification has been sent
|
||||
fi
|
||||
sleep 0.1 # Sleep for some time before checking again
|
||||
done
|
||||
@@ -1,172 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
######################################
|
||||
# #
|
||||
# Music #
|
||||
# #
|
||||
######################################
|
||||
|
||||
music(){
|
||||
|
||||
# Directory local music folder
|
||||
mDIR="$HOME/Music/"
|
||||
|
||||
# Directory for icons
|
||||
iDIR="$HOME/dotfiles/hypr/assets"
|
||||
|
||||
# Online Stations. Edit as required
|
||||
declare -A online_music=(
|
||||
["ʙʜᴀᴊᴀɴ 🚩"]="https://youtube.com/playlist?list=PLwIh-QEhrDJDM8IF3gLUgnEyZm6dBgr_n&si=_RDHngYobHlcxaJW"
|
||||
["ʟᴏꜰɪ ɢɪʀʟ 📻🎶"]="https://www.youtube.com/watch?v=jfKfPfyJRdk"
|
||||
["ɴᴇᴘᴀʟɪ ᴏʟᴅ ꜱᴏɴɢ 📻🎶"]="https://youtube.com/playlist?list=PLXuVG9D9JQ8RAhpH2TyISgBgEmXONIhGY&si=SLyxb2vxaE0XuXsz"
|
||||
["ʙᴏʟʟʏᴡᴏᴏᴅ 📻🎶"]="https://youtube.com/playlist?list=PL9bw4S5ePsEEqCMJSiYZ-KTtEjzVy0YvK&si=J0gPvKL4R4fIlPz9"
|
||||
["ᴛᴏᴘ 50 ʙᴏʟʟʏᴡᴏᴏᴅ 📻🎶"]="https://youtube.com/playlist?list=PLHuHXHyLu7BEnMJNeVvkXpxapvDSp5UdI&si=-TBeeNJ28NqVcnKu"
|
||||
["ʜɪɴᴅɪ ᴅᴊ 🔊🎶"]="https://youtube.com/playlist?list=PLuVudh8_zaHsZKa76lLfirUazcMZWzodb&si=14t1wkmsHiREB71u"
|
||||
["ʜɪɴᴅɪ ʀᴇᴍɪx 📻🎶"]="https://youtube.com/playlist?list=PLuVudh8_zaHvhUe3kLBrq5H3DeTY0bjN2&si=9dzEcnR3n5j1It3S"
|
||||
["ᴍɪx 🔊🎶"]="https://youtube.com/playlist?list=PLwIh-QEhrDJCPrtNv-r0swKWG-onndWjg&si=37SGSalBVz7kwhso"
|
||||
["ᴀʟʟ ᴛɪᴍᴇ ɴᴇᴘᴀʟɪ ʙᴇꜱᴛ 📻🎶"]="https://youtube.com/playlist?list=PLMRKdK25AuPX9eE1G1W6-xBAYGDvKRX6H&si=pAmEK2fV6bLLN8Ss"
|
||||
)
|
||||
|
||||
|
||||
# Populate local_music array with files from music directory and subdirectories
|
||||
populate_local_music() {
|
||||
local_music=()
|
||||
filenames=()
|
||||
while IFS= read -r file; do
|
||||
local_music+=("$file")
|
||||
filenames+=("$(basename "$file")")
|
||||
done < <(find "$mDIR" -type f \( -iname "*.mp3" -o -iname "*.flac" -o -iname "*.wav" -o -iname "*.ogg" -o -iname "*.mp4" \))
|
||||
}
|
||||
|
||||
# Function for displaying notifications
|
||||
notification() {
|
||||
notify-send -u normal -i "$iDIR/music.png" "Playing: $@"
|
||||
}
|
||||
|
||||
# Main function for playing local music
|
||||
play_local_music() {
|
||||
populate_local_music
|
||||
|
||||
# Prompt the user to select a song
|
||||
choice=$(printf "%s\n" "${filenames[@]}" | rofi -i -dmenu -p "Local Music")
|
||||
|
||||
if [ -z "$choice" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Find the corresponding file path based on user's choice and set that to play the song then continue on the list
|
||||
for (( i=0; i<"${#filenames[@]}"; ++i )); do
|
||||
if [ "${filenames[$i]}" = "$choice" ]; then
|
||||
|
||||
notification "$choice"
|
||||
|
||||
# For some reason wont start playlist at 0
|
||||
mpv --playlist-start="$i" --loop-playlist --vid=no "${local_music[@]}"
|
||||
break
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
# Main function for shuffling local music
|
||||
shuffle_local_music() {
|
||||
notification "Shuffle local music"
|
||||
|
||||
# Play music in $mDIR on shuffle
|
||||
mpv --shuffle --loop-playlist --vid=no "$mDIR"
|
||||
}
|
||||
|
||||
# Main function for playing online music
|
||||
play_online_music() {
|
||||
choice=$(printf "%s\n" "${!online_music[@]}" | rofi -i -dmenu -p "Online Music")
|
||||
|
||||
if [ -z "$choice" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
link="${online_music[$choice]}"
|
||||
|
||||
notification "$choice"
|
||||
|
||||
# Play the selected online music using mpv
|
||||
mpv --shuffle --vid=no "$link"
|
||||
}
|
||||
|
||||
# Function to play/pause music
|
||||
play_pause() {
|
||||
playerctl --player=mpv play-pause
|
||||
if playerctl --player=mpv status | grep -q "Playing"; then
|
||||
notify-send -u low "▶️ Resuming music"
|
||||
else
|
||||
notify-send -u low "⏸️ Music paused"
|
||||
fi
|
||||
}
|
||||
|
||||
# Function to adjust volume
|
||||
adjust_volume() {
|
||||
local change="$1"
|
||||
local message="$2"
|
||||
|
||||
current_volume=$(playerctl --player=mpv volume)
|
||||
new_volume=$(echo "$current_volume + $change" | bc)
|
||||
playerctl --player=mpv volume "$new_volume"
|
||||
notify-send -u low "$message"
|
||||
}
|
||||
|
||||
music_controls() {
|
||||
local choice="$1"
|
||||
|
||||
case "$choice" in
|
||||
"Play") playerctl --player=mpv play && notify-send -u low "▶️ Resuming music" ;;
|
||||
"Pause") playerctl --player=mpv pause && notify-send -u low "⏸️ Music paused" ;;
|
||||
"Stop") pkill mpv && notify-send -u low "🛑 Music stopped" ;;
|
||||
"Next track") playerctl --player=mpv next && notify-send -u low "⏭️ Next track playing" ;;
|
||||
"Previous track") playerctl --player=mpv previous && notify-send -u low "⏮️ Previous track playing" ;;
|
||||
"Increase volume") adjust_volume 0.1 "🔊 Increasing track volume" ;;
|
||||
"Decrease volume") adjust_volume -0.1 "🔉 Decreasing track volume" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
# Main function
|
||||
main_menu() {
|
||||
if playerctl --player=mpv status | grep -q "Playing"; then
|
||||
local controls=("Pause" "Stop" "Next track" "Previous track" "Increase volume" "Decrease volume")
|
||||
choice=$(printf "%s\n" "${controls[@]}" | rofi -dmenu -i -p "Music Controls")
|
||||
music_controls "$choice"
|
||||
else
|
||||
local controls=("Play from Music Folder" "Play from Online Stations" "Shuffle Play from Music Folder")
|
||||
choice=$(printf "%s\n" "${controls[@]}" | rofi -dmenu -i -p "Select music source")
|
||||
case "$choice" in
|
||||
"Play from Music Folder") play_local_music ;;
|
||||
"Play from Online Stations") play_online_music ;;
|
||||
"Shuffle Play from Music Folder") shuffle_local_music ;;
|
||||
*) echo "Invalid choice" ;;
|
||||
esac
|
||||
fi
|
||||
}
|
||||
|
||||
# usage
|
||||
usage() {
|
||||
echo "Usage: $0 [-m] [-i] [-d] [-n] [-p] [-k] [-s]"
|
||||
echo " -m Main menu"
|
||||
echo " -i Increase volume"
|
||||
echo " -d Decrease volume"
|
||||
echo " -n Next track"
|
||||
echo " -p Previous track"
|
||||
echo " -k Play/pause"
|
||||
echo " -s Stop music"
|
||||
exit 1
|
||||
}
|
||||
|
||||
while getopts "midnpks" flag; do
|
||||
case "${flag}" in
|
||||
m) main_menu ;;
|
||||
i) adjust_volume 0.1 "🔊 Increasing track volume" ;;
|
||||
d) adjust_volume -0.1 "🔉 Decreasing track volume" ;;
|
||||
n) playerctl --player=mpv next && notify-send -u low "⏭️ Next track playing" ;;
|
||||
p) playerctl --player=mpv previous && notify-send -u low "⏮️ Previous track playing" ;;
|
||||
k) play_pause ;;
|
||||
s) pkill mpv && notify-send -u low "🛑 Music stopped" ;;
|
||||
*) usage ;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
Reference in new issue
Block a user