Compare commits

..

No commits in common. "e6ffeafad4bacffcb3cc6e5a32bb4e5d61d98f47" and "4d128b0b24f24958024f3d37175c14f0796bc8a2" have entirely different histories.

1030 changed files with 163 additions and 2173 deletions

View File

@ -8,8 +8,6 @@ $volume_scale_color: rgba(247,121,125);
$hardware_background: linear-gradient(0deg, rgba(255,226,89,1) 0%, rgba(255,167,81,1) 100%);
$player_background: linear-gradient(0deg, rgba(113, 178, 128,1) 0%, rgba(19, 78, 94,1) 100%);
$ram_scale_color: #C6FFDD;
$disk_scale_color: #12C2E9;
$battery_scale_color: #FF0099;

View File

@ -4,9 +4,7 @@
@import "widgets/active_window/active_window.scss";
@import "widgets/workspaces/workspaces.scss";
@import "widgets/volume/volume.scss";
@import "widgets/color/color.scss";
@import "widgets/player/player.scss";
@import "widgets/notification-draw/notification-draw.scss";
* {
all: unset;

View File

@ -1,9 +1,6 @@
(include "widgets/hardware_stats/hardware-tab/hardware_tab.yuck")
(include "widgets/hardware_stats/battery/battery.yuck")
(include "widgets/bar/bar.yuck")
(include "widgets/active_window/active_window.yuck")
(include "widgets/player/player.yuck")
(include "widgets/player/metadata/metadata.yuck")
(defwindow bar
:monitor 0
@ -17,9 +14,8 @@
:wm-ignore false
:exclusive true
(box
(player)
(active_window)
(bar :desktop desktop)))
(bar)))
(defwindow hardware_stats
:monitor 0
@ -32,19 +28,16 @@
:focusable false
:wm-ignore false
(box
(literal :content {desktop ? "(hardware_tab :desktop desktop)" : "(hardware_tab_laptop)"})))
(hardware_tab)))
(defwindow player_stats
(defwindow notification_draw
:monitor 0
:geometry (geometry :x "0%"
:y "0px"
:width "0px"
:height "100px"
:anchor "left top")
:height "100%"
:anchor "top right")
:stacking "fg"
:focusable false
:wm-ignore false
(box
(player_metadata)))
(defvar desktop true)
(box))

View File

@ -2,15 +2,13 @@
(include "widgets/hardware_stats/hardware-tab/hardware_button.yuck")
(include "widgets/volume/volume.yuck")
(include "widgets/workspaces/workspaces.yuck")
(include "widgets/color/color.yuck")
(defwidget bar [desktop]
(defwidget bar []
(box :orientation "h"
:class "bar"
:halign "end"
:space-evenly "false"
(color)
(volume_button :desktop desktop)
(volume_button)
(hardware_button)
(workspaces_button)
(clock)))

View File

@ -2,12 +2,13 @@
(eventbox :halign "end"
:onhover "eww update clock_hover=true"
:onhoverlost "eww update clock_hover=false"
:onclick "/home/$USER/.config/rofi/notidraw"
:onclick notification_cmd
(box :class "clock"
{clock_hover ? clock_time_s : clock_time_ns})))
(defvar clock_hover false)
(defvar notification_cmd "widgets/notification-draw/toggle-notification-draw")
(defpoll clock_time_ns :interval "1s" "date '+\%H:\%M'")
(defpoll clock_time_s :interval "1s" "date '+\%H:\%M:\%S'")

View File

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -2,8 +2,9 @@
(include "widgets/hardware_stats/disk-used/disk-used.yuck")
(include "widgets/hardware_stats//temps/temps.yuck")
(include "widgets/hardware_stats/network-used/network-used.yuck")
(include "widgets/hardware_stats/battery/battery.yuck")
(defwidget hardware_tab [desktop]
(defwidget hardware_tab []
(revealer
:reveal hardware_reveal
:transition "slideleft"
@ -13,21 +14,8 @@
(ram_used)
(disk_used))
(box :orientation "h"
(temps :desktop desktop))
(network_used :desktop desktop))))
(defwidget hardware_tab_laptop []
(revealer
:reveal hardware_reveal
:transition "slideleft"
:duration "500ms"
(box :class "hardware_tab" :orientation "v"
(box :orientation "h"
(ram_used)
(disk_used))
(box :orientation "h"
(battery)
(temps :desktop false))
(network_used :desktop false))))
(battery)
(temps))
(network_used))))
(defvar hardware_reveal false)

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -0,0 +1,15 @@
(defwidget network_used []
(box :orientation "h"
(box :class "hardware_text"
(image
:path net_up_icon
:image-width 16)
"${EWW_NET["enp4s0"].NET_UP / 1000} kB/s")
(box :class "hardware_text"
(image
:path net_down_icon
:image-width 16)
"${EWW_NET["enp4s0"].NET_DOWN / 1000 } kB/s")))
(defvar net_up_icon "widgets/hardware_stats/network-used/up-icon.png")
(defvar net_down_icon "widgets/hardware_stats/network-used/down-icon.png")

View File

@ -1,15 +1,15 @@
(defwidget network_used [desktop]
(defwidget network_used []
(box :orientation "h"
(box :class "hardware_text"
(image
:path net_up_icon
:image-width 16)
"${desktop ? EWW_NET["enp4s0"].NET_UP / 1000 : EWW_NET["wlan0"].NET_UP / 1000} kB/s")
"${EWW_NET["wlan0"].NET_UP / 1000} kB/s")
(box :class "hardware_text"
(image
:path net_down_icon
:image-width 16)
"${desktop ? EWW_NET["enp4s0"].NET_DOWN / 1000 : EWW_NET["wlan0"].NET_DOWN / 1000 } kB/s")))
"${EWW_NET["wlan0"].NET_DOWN / 1000 } kB/s")))
(defvar net_up_icon "widgets/hardware_stats/network-used/up-icon.png")
(defvar net_down_icon "widgets/hardware_stats/network-used/down-icon.png")

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,6 @@
(defwidget temps []
(box :orientation "h"
(box :class "hardware_text"
"Proccessor: ${EWW_TEMPS.K10TEMP_TCTL}°C")
(box :class "hardware_text"
"Storage: ${EWW_TEMPS.NVME_COMPOSITE_WD_BLUE_SN570_1TB_TEMP1}°C")))

View File

@ -0,0 +1,6 @@
(defwidget temps []
(box :orientation "v"
(box :class "hardware_text"
"CORE 0: ${EWW_TEMPS.CORETEMP_CORE_0}°C")
(box :class "hardware_text"
"CORE 1: ${EWW_TEMPS.CORETEMP_CORE_1}°C")))

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -0,0 +1,16 @@
(defwidget notification_controls []
(box :orientation "h"
(eventbox
:onclick "dunstctl set-paused toggle && ${bell_toggle ? "${update_bell_toggle}false" : "${update_bell_toggle}true"}"
(image
:image-width 32
:path {bell_toggle ? muted_icon : normal_icon}))
(button
:onclick "dunstctl history-clear"
"Clear")
))
(defvar bell_toggle false)
(defvar update_bell_toggle "eww update bell_toggle=")
(defvar muted_icon "widgets/notification-draw/notification-controls/muted-icon.png")
(defvar normal_icon "widgets/notification-draw/notification-controls/normal-icon.png")

View File

@ -0,0 +1,4 @@
.draw {
background: $notification_draw_background;
padding: 1em;
}

View File

@ -0,0 +1,18 @@
(include "widgets/notification-draw/notification-controls/notification-controls.yuck")
(include "widgets/notification-draw/notifications.yuck")
(defwidget notification_draw []
(revealer
:reveal notification_reveal
:transition "slideleft"
:duration "500ms"
(box :class "draw"
:orientation "v"
:space-evenly false
(box "Notifications")
(notification_controls)
{notification_history == "[]" ? "All Caught Up!" : "" }
(notifications :json notification_history))))
(defvar notification_reveal false)
(defpoll notification_history :interval "1s" "dunstctl history | jq '.data[]'")

View File

@ -0,0 +1,4 @@
(defwidget notification [id text]
(box
text))

View File

@ -0,0 +1,8 @@
(include "widgets/notification-draw/notification.yuck")
(defwidget notifications [json]
(box :orientation "v"
(for entry in json
(notification
:id {entry.id,data}
:text {entry.summary.data}))))

View File

@ -0,0 +1,5 @@
if [ $(eww get notification_reveal) == true ]; then
eww update notification_reveal=false
else
eww update notification_reveal=true
fi

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

Before

Width:  |  Height:  |  Size: 9.5 KiB

After

Width:  |  Height:  |  Size: 9.5 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -0,0 +1,27 @@
(defwidget volume_button []
(eventbox
:onscroll "widgets/volume/setvolume {}"
:onclick "amixer sset Master ${mute_save} && ${muted ? '${update_mute_save}\'0%\' && ${update_muted}false' : '${update_mute_save}${volume_percent} && ${update_muted}true' }"
(box :class "volume_button"
(circular-progress :class "scale"
:value {replace(volume_percent, "%", "")}
:start-at 75
:thickness 2.5
:clockwise true
:width 24
(image
:image-width 16
:path {replace(volume_percent, "%", "") == 100 ? vol_high_icon : replace(volume_percent, "%", "") <= 0 ? vol_mute_icon : replace(volume_percent, "%", "") <= 25 ? vol_low_icon : replace(volume_percent, "%", "") <= 75 ? vol_mid_icon : vol_high_icon})))))
(defpoll volume_percent :interval "0.1s" "awk -F\"[][]\" '/Mono:/ { print $2 }' <(amixer sget Master)")
(defvar mute_save "0%")
(defvar muted false)
(defvar update_mute_save "eww update mute_save=")
(defvar update_muted "eww update muted=")
(defvar vol_high_icon "widgets/volume/high-icon.png")
(defvar vol_mute_icon "widgets/volume/mute-icon.png")
(defvar vol_low_icon "widgets/volume/low-icon.png")
(defvar vol_mid_icon "widgets/volume/mid-icon.png")

View File

@ -7,16 +7,13 @@ source = ~/.config/hypr/prefs/shortcuts.conf
source = ~/.config/hypr/prefs/startup.conf
# Execute your favorite apps at launch
exec-once = $authentication_agent & $wallpaper_manager & $notification_manager & $widgets &widgets_desktop_mode & $env_access & $clipboard_manager & $keyring & $auto_mounting $spotify
exec-once = $authentication_agent & $wallpaper_manager & $notification_manager & $widgets
# Environment Variables
env = XCURSOR_SIZE,24
env = WLR_NO_HARDWARE_CURSORS,1
env = QT_QPA_PLATFORMTHEME,qt5ct
env = QT_QPA_PLATFORMTHEME,qt6ct
env = QT_QPA_PLATFORM,wayland
env = GRIMBLAST_EDITOR,gwenview
env = MOZ_ENABLE_WAYLAND,1
env = SSH_ASKPASS=ksshaskpass
input {
kb_layout = $keyboard_layout
@ -87,9 +84,7 @@ gestures {
workspace_swipe = off
}
windowrulev2 = float,class:^(chat-gpt)$
windowrulev2 = stayfocused,class:^(Rofi)$
windowrulev2 = fakefullscreen,class:^(firefox)$
bind = $open_terminal, exec, $terminal_emulator
bind = $close_window, killactive,
@ -105,15 +100,6 @@ bind = $cycle_workspace, exec, $cycle_workspaces
bind = $maximise_window, fullscreen
bind = $fake_maximise, fakefullscreen
bind = $toggle_notifications, exec, $toggle_notification_draw
bind = $sys_monitor, exec, $sys_monitor_app
bind = $color_picker, exec, $color_picker_app
bind = $chat_gpt, exec, $chat_gpt_app
bind = $pass_mgr, exec, $lastpass
bind = $clipboard_history, exec, $clipboard_history_menu
bind = $screenshot_area, exec, $screenshot_area_cmd
bind = $screenshot_screen, exec, $screenshot_screen_cmd
binde = $volume_down, exec, $volume_down_percent
binde = $volume_up, exec, $volume_up_percent

View File

@ -0,0 +1,2 @@
preload = ~/.config/hypr/wallpapers/bg.jpg
wallpaper = ,~/.config/hypr/wallpapers/bg.jpg

View File

@ -4,23 +4,10 @@ $file_explorer=dolphin
$browser=firefox
$chat_gpt_app=chat-gpt
$sys_monitor_app=kitty sh -c btop
$lastpass=~/.config/rofi/passmgr-menu/passmgr
$color_picker_app=~/.config/eww/widgets/color/color
$app_launcher=rofi -config ~/.config/rofi/runner-menu/runner.rasi -show
$app_launcher=rofi -config ~/.config/rofi/runner.rasi -show
$lockscreen_manager=swaylock -C ~/.config/swaylock/lock.conf
$clipboard_history_menu=~/.config/rofi/clipboard-menu/clipboard
$screenshot_area_cmd=grimblast --freeze edit area
$screenshot_screen_cmd=grimblast edit screen
$volume_percent=amixer sset Master
$volume_up_percent=$volume_percent 5%+
$volume_down_percent=$volume_percent 5%-
@ -32,4 +19,4 @@ $brightness_down_percent=$brightness_percent 10%-
$move_to_new_workspace=movetoworkspacesilent ,empty
$cycle_workspaces=~/.config/eww/widgets/workspaces/setworkspace up $(eww get workspace_active) $(eww get workspace_total)
$toggle_notification_draw=~/.config/rofi/notidraw-menu/notidraw
$toggle_notification_draw=~/.config/eww/widgets/notification-draw/toggle-notification-draw

View File

@ -1,5 +1,6 @@
$keyboard_layout=us
$keyboard_layout=gb
$monitor_name=HDMI-A-1
$outside_gaps=10
$inside_gaps=5

View File

@ -1,6 +1,6 @@
$mainMod= SUPER
$open_terminal=, code:148
$open_terminal= $mainMod, T
$close_window= $mainMod, Q
@ -18,24 +18,9 @@ $open_browser= $mainMod, B
$lock_screen= $mainMod, L
$color_picker= $mainMod, K
$maximise_window= $mainMod, M
$fake_maximise= SUPER_SHIFT, M
$clipboard_history= $mainMod, V
$copy= CONTROL, C
$paste= CONTROL, V
$chat_gpt= $mainMod, C
$pass_mgr= $mainMod, P
$sys_monitor= $mainMod, Escape
$screenshot_area=,PRINT
$screenshot_screen= SHIFT_L, PRINT
$volume_up=, code:123
$volume_down=, code:122
$volume_mute=, code:121

View File

@ -0,0 +1,7 @@
$wallpaper_manager=hyprpaper
$authentication_agent=/usr/lib/polkit-kde-authentication-agent-1
$notification_manager=dunst -c ~/.config/dunst/dunstrc
$widgets=eww --restart open bar && eww open hardware_stats && eww open notification_draw

View File

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

@ -1,3 +1,12 @@
configuration {
show-icons: true;
modi: "combi";
combi-display-format: "{generic}";
cycle: true;
combi-modi: "drun,filebrowser";
display-combi: ">>> ";
}
* {
font: "OpenDyslexic Nerd Font 12";
foreground: #04FFF7;
@ -8,6 +17,10 @@ inputbar {
children: [prompt,entry];
}
entry {
placeholder: "{App Name}";
}
element.alternate.normal {
background-color: transparent;
}

Some files were not shown because too many files have changed in this diff Show More