Skip to content

Commit

Permalink
adding a cool sddm theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Heus-Sueh committed Aug 10, 2024
1 parent f3ae68c commit c4a46cd
Show file tree
Hide file tree
Showing 148 changed files with 905 additions and 3,154 deletions.
5 changes: 5 additions & 0 deletions boot_menu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ublue_variants:
- label: heus-sueh/hyprland
ks: /kickstart/ublue-os.ks
flavors:
- label: hyprland
2 changes: 1 addition & 1 deletion files/system/etc/sddm.conf.d/theme.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[Theme]
Current=sugar-candy
Current=sddm-astronaut-theme
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
70 changes: 70 additions & 0 deletions files/system/etc/skel/.config/hypr/colors.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Generated with Matugen

$background = "rgb(18, 19, 24)"
$error = "rgb(255, 180, 171)"
$error_container = "rgb(147, 0, 10)"
$inverse_on_surface = "rgb(47, 48, 54)"
$inverse_primary = "rgb(69, 89, 167)"
$inverse_surface = "rgb(227, 225, 233)"
$on_background = "rgb(227, 225, 233)"
$on_error = "rgb(105, 0, 5)"
$on_error_container = "rgb(255, 218, 214)"
$on_primary = "rgb(15, 41, 118)"
$on_primary_container = "rgb(255, 255, 255)"
$on_primary_fixed = "rgb(0, 21, 81)"
$on_primary_fixed_variant = "rgb(43, 65, 141)"
$on_secondary = "rgb(40, 47, 76)"
$on_secondary_container = "rgb(194, 201, 238)"
$on_secondary_fixed = "rgb(18, 26, 54)"
$on_secondary_fixed_variant = "rgb(62, 69, 100)"
$on_success = "rgb(0, 57, 31)"
$on_success_container = "rgb(255, 255, 255)"
$on_surface = "rgb(227, 225, 233)"
$on_surface_variant = "rgb(197, 197, 211)"
$on_tertiary = "rgb(72, 41, 0)"
$on_tertiary_container = "rgb(255, 255, 255)"
$on_tertiary_fixed = "rgb(43, 23, 0)"
$on_tertiary_fixed_variant = "rgb(103, 61, 0)"
$on_urgent = "rgb(105, 0, 0)"
$on_urgent_container = "rgb(0, 0, 0)"
$on_white = "rgb(47, 49, 49)"
$on_white_container = "rgb(70, 72, 73)"
$outline = "rgb(143, 144, 156)"
$outline_variant = "rgb(68, 70, 81)"
$primary = "rgb(183, 196, 255)"
$primary_container = "rgb(66, 87, 164)"
$primary_fixed = "rgb(220, 225, 255)"
$primary_fixed_dim = "rgb(183, 196, 255)"
$scrim = "rgb(0, 0, 0)"
$secondary = "rgb(190, 197, 234)"
$secondary_container = "rgb(62, 69, 100)"
$secondary_fixed = "rgb(220, 225, 255)"
$secondary_fixed_dim = "rgb(190, 197, 234)"
$shadow = "rgb(0, 0, 0)"
$source_color = "rgb(66, 87, 164)"
$success = "rgb(121, 218, 160)"
$success_container = "rgb(27, 133, 83)"
$success_source = "rgb(27, 133, 83)"
$success_value = "rgb(27, 133, 83)"
$surface = "rgb(18, 19, 24)"
$surface_bright = "rgb(56, 57, 62)"
$surface_container = "rgb(31, 31, 36)"
$surface_container_high = "rgb(41, 42, 47)"
$surface_container_highest = "rgb(52, 52, 58)"
$surface_container_low = "rgb(26, 27, 32)"
$surface_container_lowest = "rgb(13, 14, 19)"
$surface_dim = "rgb(18, 19, 24)"
$surface_variant = "rgb(68, 70, 81)"
$tertiary = "rgb(255, 184, 103)"
$tertiary_container = "rgb(132, 80, 0)"
$tertiary_fixed = "rgb(255, 221, 186)"
$tertiary_fixed_dim = "rgb(255, 184, 103)"
$urgent = "rgb(255, 180, 168)"
$urgent_container = "rgb(255, 85, 64)"
$urgent_source = "rgb(255, 0, 0)"
$urgent_value = "rgb(255, 0, 0)"
$white = "rgb(255, 255, 255)"
$white_container = "rgb(226, 226, 226)"
$white_source = "rgb(255, 255, 255)"
$white_value = "rgb(255, 255, 255)"

5 changes: 5 additions & 0 deletions files/system/etc/skel/.config/hypr/env.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# ############ Themes #############
env = QT_QPA_PLATFORM, wayland
env = QT_QPA_PLATFORMTHEME, qt5ct
# env = QT_STYLE_OVERRIDE,kvantum
# env = WLR_NO_HARDWARE_CURSORS, 1
6 changes: 6 additions & 0 deletions files/system/etc/skel/.config/hypr/exec.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Input method
exec-once = fcitx5

# Clipboard: history
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store
35 changes: 35 additions & 0 deletions files/system/etc/skel/.config/hypr/hypridle.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
general {
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
before_sleep_cmd = loginctl lock-session # lock before suspend.
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
}

listener {
timeout = 150 # 2.5min.
on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor.
on-resume = brightnessctl -r # monitor backlight restore.
}

# turn off keyboard backlight, comment out this section if you dont have a keyboard backlight.
listener {
timeout = 150 # 2.5min.
on-timeout = brightnessctl -sd rgb:kbd_backlight set 0 # turn off keyboard backlight.
on-resume = brightnessctl -rd rgb:kbd_backlight # turn on keyboard backlight.
}

listener {
timeout = 300 # 5min
on-timeout = loginctl lock-session # lock screen when timeout has passed
}

listener {
timeout = 330 # 5.5min
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired.
}

listener {
timeout = 1800 # 30min
on-timeout = systemctl suspend # suspend pc
}

105 changes: 105 additions & 0 deletions files/system/etc/skel/.config/hypr/hyprlock.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
source = colors.conf

background {
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
monitor =
path = $HOME/.current_wallpaper # only png supported for now
blur_size = 4
blur_passes = 3 # 0 disables blurring
noise = 0.0117
contrast = 1.3000 # Vibrant!!!
brightness = 0.8000
vibrancy = 0.2100
vibrancy_darkness = 0.0
}

# Hours
label {
monitor =
text = cmd[update:1000] echo "<b><big> $(date +"%H") </big></b>"
color = $primary
font_size = 112
font_family = Geist Mono 10
shadow_passes = 3
shadow_size = 4

position = 0, 220
halign = center
valign = center
}

# Minutes
label {
monitor =
text = cmd[update:1000] echo "<b><big> $(date +"%M") </big></b>"
color = $primary
font_size = 112
font_family = Geist Mono 10
shadow_passes = 3
shadow_size = 4

position = 0, 80
halign = center
valign = center
}

# Today
label {
monitor =
text = cmd[update:18000000] echo "<b><big> "$(date +'%A')" </big></b>"
color = $white
font_size = 22
font_family = JetBrainsMono Nerd Font 10

position = 0, 30
halign = center
valign = center
}

# Week
label {
monitor =
text = cmd[update:18000000] echo "<b> "$(date +'%d %b')" </b>"
color = $white
font_size = 18
font_family = JetBrainsMono Nerd Font 10

position = 0, 6
halign = center
valign = center
}

# Degrees
label {
monitor =
text = cmd[update:18000000] echo "<b>Feels like<big> $(curl -s 'wttr.in?format=%t' | tr -d '+') </big></b>"
color = $white
font_size = 18
font_family = Geist Mono 10

position = 0, 40
halign = center
valign = bottom
}

input-field {
monitor =
size = 250, 50
outline_thickness = 3

dots_size = 0.26 # 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
dots_rouding = -1

rounding = 22
outer_color = $color0
inner_color = $color0
font_color = $color6
fade_on_empty = true
placeholder_text = <i>Password...</i> # Text rendered in the input box when it's empty.

position = 0, 120
halign = center
valign = bottom
}
1 change: 1 addition & 0 deletions files/system/etc/skel/.config/hypr/keybinds.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
### Keybinds
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
windowrulev2 = idleinhibit fullscreen, fullscreen:1
#---------------#
# Windows rules #
#---------------#
windowrule = center, title:^(Open File)(.*)$
windowrule = center, title:^(Select a File)(.*)$
windowrule = center, title:^(Choose wallpaper)(.*)$
windowrule = center, title:^(Open Folder)(.*)$
windowrule = center, title:^(Save As)(.*)$
windowrule = center, title:^(Library)(.*)$
windowrule = center, title:^(File Upload)(.*)$

# Dialogs
windowrule=float,title:^(Open File)(.*)$
windowrule=float,title:^(Select a File)(.*)$
windowrule=float,title:^(Choose wallpaper)(.*)$
windowrule=float,title:^(Open Folder)(.*)$
windowrule=float,title:^(Save As)(.*)$
windowrule=float,title:^(Library)(.*)$
windowrule=float,title:^(File Upload)(.*)$

windowrule = float, org.kde.polkit-kde-authentication-agent-1
windowrule = float, nm-connection-editor|blueman-manager
Expand Down Expand Up @@ -29,13 +48,10 @@ layerrule = blur, swaync-control-center
layerrule = blur, swaync-notification-window

# Tweaks to work with blur -----------------------------------

layerrule = unset, rofi
layerrule = ignorezero, rofi

layerrule = ignorezero, swaync-control-center
layerrule = ignorezero, swaync-notification-window

layerrule = ignorealpha 0.5, swaync-control-center
layerrule = ignorealpha 0.5, swaync-notification-window

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions files/system/etc/xdg/waybar/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ window#waybar.hidden {
color: @primary;
}

#workspaces button.active {
color: @primary;
}

#workspaces button:hover {
box-shadow: inherit;
text-shadow: inherit;
Expand Down
Empty file removed files/system/usr/.gitkeep
Empty file.
Empty file modified files/system/usr/bin/starthyprland
100644 → 100755
Empty file.
Loading

0 comments on commit c4a46cd

Please sign in to comment.