Fix rofi rice and gitignore generated files

This commit is contained in:
Sem
2026-04-01 22:36:05 +02:00
parent b5fe4b0a5e
commit b0a4408c65
11 changed files with 105 additions and 311 deletions

6
.gitignore vendored Normal file
View File

@@ -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

View File

@@ -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)

View File

@@ -46,6 +46,8 @@ exec-once = /usr/lib/hyprpolkitagent/hyprpolkitagent # authentication
exec-once = /usr/bin/qs & # quickshell exec-once = /usr/bin/qs & # quickshell
# exec-once = hyprpaper # wallpaper # exec-once = hyprpaper # wallpaper
exec-once = awww-daemon # wallpaper exec-once = awww-daemon # wallpaper
exec-once = hyprsunset # night light
############################# #############################
### ENVIRONMENT VARIABLES ### ### ENVIRONMENT VARIABLES ###
############################# #############################
@@ -251,6 +253,7 @@ bind = $mainMod SHIFT, M, togglefloating,
bind = $mainMod, R, exec, $menu bind = $mainMod, R, exec, $menu
bind = $mainMod, P, exec, $programs bind = $mainMod, P, exec, $programs
bind = $mainMod, L, layoutmsg, togglesplit # dwindle bind = $mainMod, L, layoutmsg, togglesplit # dwindle
bind = $mainMod, code:47, exec, rofi -show emoji
# Move focus with mainMod + arrow keys # Move focus with mainMod + arrow keys
bind = $mainMod, J, cyclenext bind = $mainMod, J, cyclenext
@@ -353,3 +356,7 @@ windowrule {
move = 20 monitor_h-120 move = 20 monitor_h-120
float = yes float = yes
} }
debug {
disable_logs = false
}

18
hypr/hyprsunset.conf Normal file
View File

@@ -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
}

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -7,9 +7,23 @@ Item {
// Store all wallpapers // Store all wallpapers
property var wallpapers: [] property var wallpapers: []
// path to the current wallpaper
property string currentWallpaper: ""
// process to run the command to change the wallpaper // process to run the command to change the wallpaper
Process { Process {
id: wallpaperProcess 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 // Load wallpaper list once at startup
@@ -35,10 +49,12 @@ Item {
var index = Math.floor(Math.random() * wallpapers.length); var index = Math.floor(Math.random() * wallpapers.length);
var path = wallpapers[index]; var path = wallpapers[index];
wallpaperHolder.currentWallpaper = path;
wallpaperProcess.command = ["matugen", "image", path] wallpaperProcess.command = ["matugen", "image", path]
console.log("Running command: " + wallpaperProcess.command); console.log("Running command: " + wallpaperProcess.command);
wallpaperProcess.running = true; wallpaperProcess.running = true;
currentWallpaper = path;
} }
Timer { Timer {

View File

@@ -1,28 +1,28 @@
* { * {
primary: #838dc8; primary: #818ec8;
primary-fixed: #434d84; primary-fixed: #414e84;
primary-fixed-dim: #2c366b; primary-fixed-dim: #2a366b;
on-primary: #374176; on-primary: #354176;
on-primary-fixed: #b7c0ff; on-primary-fixed: #b4c1ff;
on-primary-fixed-variant: #939dd9; on-primary-fixed-variant: #919dd9;
primary-container: #2c366b; primary-container: #2a366b;
on-primary-container: #97a0dd; on-primary-container: #94a1dd;
secondary: #8d8fa6; secondary: #8c8fa6;
secondary-fixed: #4d5064; secondary-fixed: #4c5064;
secondary-fixed-dim: #36394c; secondary-fixed-dim: #35394c;
on-secondary: #26293b; on-secondary: #25293b;
on-secondary-fixed: #c1c2da; on-secondary-fixed: #c0c3da;
on-secondary-fixed-variant: #9d9fb5; on-secondary-fixed-variant: #9c9fb5;
secondary-container: #36394c; secondary-container: #35394c;
on-secondary-container: #a0a2b9; on-secondary-container: #a0a3b9;
tertiary: #ac85a1; tertiary: #ab85a2;
tertiary-fixed: #684660; tertiary-fixed: #674761;
tertiary-fixed-dim: #4f3048; tertiary-fixed-dim: #4e3049;
on-tertiary: #3d2037; on-tertiary: #3c2038;
on-tertiary-fixed: #e3b7d5; on-tertiary-fixed: #e1b8d7;
on-tertiary-fixed-variant: #bd94b1; on-tertiary-fixed-variant: #bb94b2;
tertiary-container: #4f3048; tertiary-container: #4e3049;
on-tertiary-container: #c198b5; on-tertiary-container: #c098b6;
error: #ff5449; error: #ff5449;
on-error: #5c0003; on-error: #5c0003;
error-container: #7b0007; error-container: #7b0007;
@@ -31,17 +31,17 @@
on-surface: #a3a2a9; on-surface: #a3a2a9;
on-surface-variant: #82828c; on-surface-variant: #82828c;
outline: #53535c; outline: #53535c;
outline-variant: #393942; outline-variant: #393a42;
shadow: #000000; shadow: #000000;
scrim: #000000; scrim: #000000;
inverse-surface: #e3e1e9; inverse-surface: #e3e1e9;
inverse-on-surface: #64646a; inverse-on-surface: #64646a;
inverse-primary: #737db7; inverse-primary: #717eb7;
surface-dim: #121318; surface-dim: #121318;
surface-bright: #39393f; surface-bright: #38393f;
surface-container-lowest: #0d0e13; surface-container-lowest: #0d0e13;
surface-container-low: #1b1b21; surface-container-low: #1b1b21;
surface-container: #1f1f25; surface-container: #1f1f25;
surface-container-high: #29292f; surface-container-high: #292a2f;
surface-container-highest: #34343a; surface-container-highest: #34343a;
} }

View File

@@ -2,13 +2,14 @@
@import "colors.rasi" @import "colors.rasi"
configuration { configuration {
modi: "window,run,drun"; modi: "drun,filebrowser,window,emoji";
display-drun: "Applications"; display-drun: "apps";
display-window: "Windows"; display-window: "windows";
display-run: "Run"; display-filebrowser: "files";
drun-display-format: "{icon} {name}"; display-emoji: "emoji";
drun-display-format: "{name}";
font: "JetBrainsMono Nerd Font 10"; font: "JetBrainsMono Nerd Font 10";
show-icons: true; // show-icons: true;
icon-theme: "Colloid"; icon-theme: "Colloid";
} }
@@ -18,7 +19,7 @@ window {
location: center; location: center;
anchor: center; anchor: center;
fullscreen: false; fullscreen: false;
width: 1000px; width: 800px;
x-offset: 0px; x-offset: 0px;
y-offset: 0px; y-offset: 0px;
@@ -41,16 +42,18 @@ mainbox {
} }
imagebox { imagebox {
padding: 20px; padding: 5px;
background-color: transparent; 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; orientation: vertical;
children: [ "inputbar", "dummy", "mode-switcher" ]; children: [ "inputbar", "dummy", "mode-switcher" ];
} }
listbox { listbox {
spacing: 20px; spacing: 20px;
padding: 20px; padding: 5px;
background-color: transparent; background-color: transparent;
orientation: vertical; orientation: vertical;
children: [ "message", "listview" ]; children: [ "message", "listview" ];
@@ -63,9 +66,9 @@ dummy {
inputbar { inputbar {
enabled: true; enabled: true;
spacing: 10px; spacing: 2px;
padding: 15px; padding: 5px;
border-radius: 10px; border-radius: 5px;
background-color: @on-primary; background-color: @on-primary;
text-color: @on-surface; text-color: @on-surface;
children: [ "textbox-prompt-colon", "entry" ]; children: [ "textbox-prompt-colon", "entry" ];
@@ -82,19 +85,19 @@ entry {
background-color: inherit; background-color: inherit;
text-color: inherit; text-color: inherit;
cursor: text; cursor: text;
placeholder: "Search"; placeholder: "Whaddup?";
placeholder-color: inherit; placeholder-color: inherit;
} }
mode-switcher{ mode-switcher{
enabled: true; enabled: true;
spacing: 20px; spacing: 5px;
background-color: transparent; background-color: transparent;
text-color: @primary-fixed; text-color: @primary-fixed;
} }
button { button {
padding: 15px; padding: 5px;
border-radius: 10px; border-radius: 5px;
background-color: @on-primary; background-color: @on-primary;
text-color: inherit; text-color: inherit;
cursor: pointer; cursor: pointer;
@@ -106,8 +109,8 @@ button selected {
listview { listview {
enabled: true; enabled: true;
columns: 1; columns: 2;
lines: 8; lines: 12;
cycle: true; cycle: true;
dynamic: true; dynamic: true;
scrollbar: false; scrollbar: false;
@@ -116,7 +119,7 @@ listview {
fixed-height: true; fixed-height: true;
fixed-columns: true; fixed-columns: true;
spacing: 10px; spacing: 2px;
background-color: transparent; background-color: transparent;
text-color: @on-surface; text-color: @on-surface;
cursor: "default"; cursor: "default";
@@ -124,9 +127,9 @@ listview {
element { element {
enabled: true; enabled: true;
spacing: 15px; spacing: 5px;
padding: 8px; padding: 5px;
border-radius: 10px; border-radius: 5px;
background-color: transparent; background-color: transparent;
text-color: @on-surface; text-color: @on-surface;
cursor: pointer; cursor: pointer;
@@ -158,7 +161,7 @@ element selected.active {
element-icon { element-icon {
background-color: transparent; background-color: transparent;
text-color: inherit; text-color: inherit;
size: 32px; // size: 20px;
cursor: inherit; cursor: inherit;
} }
element-text { element-text {
@@ -174,7 +177,7 @@ message {
} }
textbox { textbox {
padding: 15px; padding: 15px;
border-radius: 10px; border-radius: 5px;
background-color: @on-primary; background-color: @on-primary;
text-color: @on-surface; text-color: @on-surface;
vertical-align: 0.5; vertical-align: 0.5;