diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0bce667 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +hypr/current_wallpaper +hypr/colors.conf +kitty/current-theme.conf +kitty/themes/Matugen.conf +qt5ct/colors/matugen.conf +qt6ct/colors/matugen.conf \ No newline at end of file diff --git a/hypr/colors.conf b/hypr/colors.conf deleted file mode 100644 index 7b47eef..0000000 --- a/hypr/colors.conf +++ /dev/null @@ -1,150 +0,0 @@ - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$background = rgba(121318ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$error = rgba(ff5449ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$error_container = rgba(7b0007ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$inverse_on_surface = rgba(64646aff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$inverse_primary = rgba(737db7ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$inverse_surface = rgba(e3e1e9ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$on_background = rgba(626268ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$on_error = rgba(5c0003ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$on_error_container = rgba(ff7d70ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$on_primary = rgba(374176ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$on_primary_container = rgba(97a0ddff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$on_primary_fixed = rgba(b7c0ffff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$on_primary_fixed_variant = rgba(939dd9ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$on_secondary = rgba(26293bff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$on_secondary_container = rgba(a0a2b9ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$on_secondary_fixed = rgba(c1c2daff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$on_secondary_fixed_variant = rgba(9d9fb5ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$on_surface = rgba(a3a2a9ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$on_surface_variant = rgba(82828cff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$on_tertiary = rgba(3d2037ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$on_tertiary_container = rgba(c198b5ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$on_tertiary_fixed = rgba(e3b7d5ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$on_tertiary_fixed_variant = rgba(bd94b1ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$outline = rgba(53535cff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$outline_variant = rgba(393942ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$primary = rgba(838dc8ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$primary_container = rgba(2c366bff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$primary_fixed = rgba(434d84ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$primary_fixed_dim = rgba(2c366bff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$scrim = rgba(000000ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$secondary = rgba(8d8fa6ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$secondary_container = rgba(36394cff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$secondary_fixed = rgba(4d5064ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$secondary_fixed_dim = rgba(36394cff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$shadow = rgba(000000ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$source_color = rgba(1c1d25ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$surface = rgba(121318ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$surface_bright = rgba(39393fff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$surface_container = rgba(1f1f25ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$surface_container_high = rgba(29292fff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$surface_container_highest = rgba(34343aff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$surface_container_low = rgba(1b1b21ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$surface_container_lowest = rgba(0d0e13ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$surface_dim = rgba(121318ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$surface_tint = rgba(bac3ffff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$surface_variant = rgba(46464fff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$tertiary = rgba(ac85a1ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$tertiary_container = rgba(4f3048ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$tertiary_fixed = rgba(684660ff) - -$image = /home/sem/Pictures/wallpapers/DSC00789.jpg -$tertiary_fixed_dim = rgba(4f3048ff) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index c09f871..5d9eb1a 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -46,6 +46,8 @@ exec-once = /usr/lib/hyprpolkitagent/hyprpolkitagent # authentication exec-once = /usr/bin/qs & # quickshell # exec-once = hyprpaper # wallpaper exec-once = awww-daemon # wallpaper +exec-once = hyprsunset # night light + ############################# ### ENVIRONMENT VARIABLES ### ############################# @@ -251,6 +253,7 @@ bind = $mainMod SHIFT, M, togglefloating, bind = $mainMod, R, exec, $menu bind = $mainMod, P, exec, $programs bind = $mainMod, L, layoutmsg, togglesplit # dwindle +bind = $mainMod, code:47, exec, rofi -show emoji # Move focus with mainMod + arrow keys bind = $mainMod, J, cyclenext @@ -353,3 +356,7 @@ windowrule { move = 20 monitor_h-120 float = yes } + +debug { + disable_logs = false +} diff --git a/hypr/hyprsunset.conf b/hypr/hyprsunset.conf new file mode 100644 index 0000000..ba86566 --- /dev/null +++ b/hypr/hyprsunset.conf @@ -0,0 +1,18 @@ +max-gamma = 150 + +profile { + time = 6:00 + identity = true +} + +profile { + time = 18:00 + temperature = 3500 + gamma = 1.0 +} + +profile { + time = 23:00 + temperature = 3000 + gamma = 0.8 +} \ No newline at end of file diff --git a/kitty/current-theme.conf b/kitty/current-theme.conf deleted file mode 100644 index 5df4368..0000000 --- a/kitty/current-theme.conf +++ /dev/null @@ -1,49 +0,0 @@ -cursor #838dc8 -cursor_text_color #374176 - -foreground #a3a2a9 -background #0d0e13 -selection_foreground #26293b -selection_background #8d8fa6 -url_color #8d8fa6 - -#: black 000000 767676 -color0 #121318 -color8 #34343a -#: red cc0403 f2201f -color1 #35485e -color9 #7994b3 -#: green 19cb00 23fd00 -color2 #36394c -color10 #4d5064 -#: yellow cecb00 fffd00 -color3 #4f3048 -color11 #684660 -#: blue 0d73cc 1a8fff -color4 #939dd9 -color12 #838dc8 -#: magenta cb1ed1 fd28ff -color5 #9d9fb5 -color13 #8d8fa6 -#: cyan 0dcdcd 14ffff -color6 #bd94b1 -color14 #ac85a1 -#: white dddddd ffffff -color7 #82828c -color15 #a3a2a9 - -mark1_foreground #b7c0ff -mark1_background #434d84 -mark2_foreground #c1c2da -mark2_background #4d5064 -mark3_foreground #e3b7d5 -mark3_background #684660 - -active_tab_foreground #374176 -active_tab_background #838dc8 -inactive_tab_foreground #97a0dd -inactive_tab_background #2c366b - -active_border_color #838dc8 -inactive_border_color #374176 -# bell_border_color #ff5a00 \ No newline at end of file diff --git a/kitty/themes/Matugen.conf b/kitty/themes/Matugen.conf deleted file mode 100644 index 5df4368..0000000 --- a/kitty/themes/Matugen.conf +++ /dev/null @@ -1,49 +0,0 @@ -cursor #838dc8 -cursor_text_color #374176 - -foreground #a3a2a9 -background #0d0e13 -selection_foreground #26293b -selection_background #8d8fa6 -url_color #8d8fa6 - -#: black 000000 767676 -color0 #121318 -color8 #34343a -#: red cc0403 f2201f -color1 #35485e -color9 #7994b3 -#: green 19cb00 23fd00 -color2 #36394c -color10 #4d5064 -#: yellow cecb00 fffd00 -color3 #4f3048 -color11 #684660 -#: blue 0d73cc 1a8fff -color4 #939dd9 -color12 #838dc8 -#: magenta cb1ed1 fd28ff -color5 #9d9fb5 -color13 #8d8fa6 -#: cyan 0dcdcd 14ffff -color6 #bd94b1 -color14 #ac85a1 -#: white dddddd ffffff -color7 #82828c -color15 #a3a2a9 - -mark1_foreground #b7c0ff -mark1_background #434d84 -mark2_foreground #c1c2da -mark2_background #4d5064 -mark3_foreground #e3b7d5 -mark3_background #684660 - -active_tab_foreground #374176 -active_tab_background #838dc8 -inactive_tab_foreground #97a0dd -inactive_tab_background #2c366b - -active_border_color #838dc8 -inactive_border_color #374176 -# bell_border_color #ff5a00 \ No newline at end of file diff --git a/qt5ct/colors/matugen.conf b/qt5ct/colors/matugen.conf deleted file mode 100644 index 71b6b98..0000000 --- a/qt5ct/colors/matugen.conf +++ /dev/null @@ -1,4 +0,0 @@ -[ColorScheme] -active_colors=#626268, #121318, #ffffff, #cacaca, #9f9f9f, #b8b8b8, #626268, #ffffff, #a3a2a9, #121318, #121318, #000000, #2c366b, #97a0dd, #8d8fa6, #838dc8, #121318, #000000, #121318, #a3a2a9, #8d8fa6 -disabled_colors=#626268, #121318, #ffffff, #cacaca, #9f9f9f, #b8b8b8, #626268, #ffffff, #a3a2a9, #121318, #121318, #000000, #2c366b, #97a0dd, #8d8fa6, #838dc8, #121318, #000000, #121318, #a3a2a9, #8d8fa6 -inactive_colors=#626268, #121318, #ffffff, #cacaca, #9f9f9f, #b8b8b8, #626268, #ffffff, #a3a2a9, #121318, #121318, #000000, #2c366b, #97a0dd, #8d8fa6, #838dc8, #121318, #000000, #121318, #a3a2a9, #8d8fa6 \ No newline at end of file diff --git a/qt6ct/colors/matugen.conf b/qt6ct/colors/matugen.conf deleted file mode 100644 index 71b6b98..0000000 --- a/qt6ct/colors/matugen.conf +++ /dev/null @@ -1,4 +0,0 @@ -[ColorScheme] -active_colors=#626268, #121318, #ffffff, #cacaca, #9f9f9f, #b8b8b8, #626268, #ffffff, #a3a2a9, #121318, #121318, #000000, #2c366b, #97a0dd, #8d8fa6, #838dc8, #121318, #000000, #121318, #a3a2a9, #8d8fa6 -disabled_colors=#626268, #121318, #ffffff, #cacaca, #9f9f9f, #b8b8b8, #626268, #ffffff, #a3a2a9, #121318, #121318, #000000, #2c366b, #97a0dd, #8d8fa6, #838dc8, #121318, #000000, #121318, #a3a2a9, #8d8fa6 -inactive_colors=#626268, #121318, #ffffff, #cacaca, #9f9f9f, #b8b8b8, #626268, #ffffff, #a3a2a9, #121318, #121318, #000000, #2c366b, #97a0dd, #8d8fa6, #838dc8, #121318, #000000, #121318, #a3a2a9, #8d8fa6 \ No newline at end of file diff --git a/quickshell/services/RandomWallpaper.qml b/quickshell/services/RandomWallpaper.qml index 6a96972..4fac5dc 100644 --- a/quickshell/services/RandomWallpaper.qml +++ b/quickshell/services/RandomWallpaper.qml @@ -7,9 +7,23 @@ Item { // Store all wallpapers property var wallpapers: [] + // path to the current wallpaper + property string currentWallpaper: "" + // process to run the command to change the wallpaper Process { id: wallpaperProcess + + onRunningChanged: { + if (!running) { + updateCurrentWallpaperProcess.running = true; // update the current wallpaper file after changing it + } + } + } + + Process { + id: updateCurrentWallpaperProcess + command: ["bash", "-c", "cp " + wallpaperHolder.currentWallpaper + " ~/.config/hypr/current_wallpaper"] } // Load wallpaper list once at startup @@ -35,10 +49,12 @@ Item { var index = Math.floor(Math.random() * wallpapers.length); var path = wallpapers[index]; + wallpaperHolder.currentWallpaper = path; wallpaperProcess.command = ["matugen", "image", path] console.log("Running command: " + wallpaperProcess.command); wallpaperProcess.running = true; + currentWallpaper = path; } Timer { diff --git a/rofi/colors.rasi b/rofi/colors.rasi index 2989fda..d3675ac 100644 --- a/rofi/colors.rasi +++ b/rofi/colors.rasi @@ -1,28 +1,28 @@ * { - primary: #838dc8; - primary-fixed: #434d84; - primary-fixed-dim: #2c366b; - on-primary: #374176; - on-primary-fixed: #b7c0ff; - on-primary-fixed-variant: #939dd9; - primary-container: #2c366b; - on-primary-container: #97a0dd; - secondary: #8d8fa6; - secondary-fixed: #4d5064; - secondary-fixed-dim: #36394c; - on-secondary: #26293b; - on-secondary-fixed: #c1c2da; - on-secondary-fixed-variant: #9d9fb5; - secondary-container: #36394c; - on-secondary-container: #a0a2b9; - tertiary: #ac85a1; - tertiary-fixed: #684660; - tertiary-fixed-dim: #4f3048; - on-tertiary: #3d2037; - on-tertiary-fixed: #e3b7d5; - on-tertiary-fixed-variant: #bd94b1; - tertiary-container: #4f3048; - on-tertiary-container: #c198b5; + primary: #818ec8; + primary-fixed: #414e84; + primary-fixed-dim: #2a366b; + on-primary: #354176; + on-primary-fixed: #b4c1ff; + on-primary-fixed-variant: #919dd9; + primary-container: #2a366b; + on-primary-container: #94a1dd; + secondary: #8c8fa6; + secondary-fixed: #4c5064; + secondary-fixed-dim: #35394c; + on-secondary: #25293b; + on-secondary-fixed: #c0c3da; + on-secondary-fixed-variant: #9c9fb5; + secondary-container: #35394c; + on-secondary-container: #a0a3b9; + tertiary: #ab85a2; + tertiary-fixed: #674761; + tertiary-fixed-dim: #4e3049; + on-tertiary: #3c2038; + on-tertiary-fixed: #e1b8d7; + on-tertiary-fixed-variant: #bb94b2; + tertiary-container: #4e3049; + on-tertiary-container: #c098b6; error: #ff5449; on-error: #5c0003; error-container: #7b0007; @@ -31,17 +31,17 @@ on-surface: #a3a2a9; on-surface-variant: #82828c; outline: #53535c; - outline-variant: #393942; + outline-variant: #393a42; shadow: #000000; scrim: #000000; inverse-surface: #e3e1e9; inverse-on-surface: #64646a; - inverse-primary: #737db7; + inverse-primary: #717eb7; surface-dim: #121318; - surface-bright: #39393f; + surface-bright: #38393f; surface-container-lowest: #0d0e13; surface-container-low: #1b1b21; surface-container: #1f1f25; - surface-container-high: #29292f; + surface-container-high: #292a2f; surface-container-highest: #34343a; } \ No newline at end of file diff --git a/rofi/config.rasi b/rofi/config.rasi index fa5632b..c8f6474 100644 --- a/rofi/config.rasi +++ b/rofi/config.rasi @@ -2,13 +2,14 @@ @import "colors.rasi" configuration { - modi: "window,run,drun"; - display-drun: "Applications"; - display-window: "Windows"; - display-run: "Run"; - drun-display-format: "{icon} {name}"; + modi: "drun,filebrowser,window,emoji"; + display-drun: "apps"; + display-window: "windows"; + display-filebrowser: "files"; + display-emoji: "emoji"; + drun-display-format: "{name}"; font: "JetBrainsMono Nerd Font 10"; - show-icons: true; + // show-icons: true; icon-theme: "Colloid"; } @@ -18,7 +19,7 @@ window { location: center; anchor: center; fullscreen: false; - width: 1000px; + width: 800px; x-offset: 0px; y-offset: 0px; @@ -41,16 +42,18 @@ mainbox { } imagebox { - padding: 20px; + padding: 5px; background-color: transparent; - /*background-image: url("~/.config/hypr/current_wallpaper", height);*/ + + // Current wallpaper should be set by the process that changes the wallpaper (like mutagen or quickshell) + background-image: url("~/.config/hypr/current_wallpaper", height); orientation: vertical; children: [ "inputbar", "dummy", "mode-switcher" ]; } listbox { spacing: 20px; - padding: 20px; + padding: 5px; background-color: transparent; orientation: vertical; children: [ "message", "listview" ]; @@ -63,11 +66,11 @@ dummy { inputbar { enabled: true; - spacing: 10px; - padding: 15px; - border-radius: 10px; - background-color: @on-primary; - text-color: @on-surface; + spacing: 2px; + padding: 5px; + border-radius: 5px; + background-color: @on-primary; + text-color: @on-surface; children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { @@ -82,19 +85,19 @@ entry { background-color: inherit; text-color: inherit; cursor: text; - placeholder: "Search"; + placeholder: "Whaddup?"; placeholder-color: inherit; } mode-switcher{ enabled: true; - spacing: 20px; + spacing: 5px; background-color: transparent; text-color: @primary-fixed; } button { - padding: 15px; - border-radius: 10px; + padding: 5px; + border-radius: 5px; background-color: @on-primary; text-color: inherit; cursor: pointer; @@ -106,8 +109,8 @@ button selected { listview { enabled: true; - columns: 1; - lines: 8; + columns: 2; + lines: 12; cycle: true; dynamic: true; scrollbar: false; @@ -116,7 +119,7 @@ listview { fixed-height: true; fixed-columns: true; - spacing: 10px; + spacing: 2px; background-color: transparent; text-color: @on-surface; cursor: "default"; @@ -124,9 +127,9 @@ listview { element { enabled: true; - spacing: 15px; - padding: 8px; - border-radius: 10px; + spacing: 5px; + padding: 5px; + border-radius: 5px; background-color: transparent; text-color: @on-surface; cursor: pointer; @@ -158,7 +161,7 @@ element selected.active { element-icon { background-color: transparent; text-color: inherit; - size: 32px; + // size: 20px; cursor: inherit; } element-text { @@ -174,7 +177,7 @@ message { } textbox { padding: 15px; - border-radius: 10px; + border-radius: 5px; background-color: @on-primary; text-color: @on-surface; vertical-align: 0.5;