Compare commits
No commits in common. "fa24b6abfb51710a981c3e0da6cd6b9704af587a" and "159982c5984470c4b30a98739a28562efe69fe1d" have entirely different histories.
fa24b6abfb
...
159982c598
12 changed files with 23 additions and 347 deletions
|
@ -95,7 +95,7 @@ environment {
|
||||||
// https://github.com/YaLTeR/niri/wiki/Configuration:-Layout
|
// https://github.com/YaLTeR/niri/wiki/Configuration:-Layout
|
||||||
layout {
|
layout {
|
||||||
// Set gaps around windows in logical pixels.
|
// Set gaps around windows in logical pixels.
|
||||||
gaps 16
|
gaps 32
|
||||||
|
|
||||||
// When to center a column when changing focus, options are:
|
// When to center a column when changing focus, options are:
|
||||||
// - "never", default behavior, focusing an off-screen column will keep at the left
|
// - "never", default behavior, focusing an off-screen column will keep at the left
|
||||||
|
@ -179,7 +179,7 @@ layout {
|
||||||
// If you enable the border, you probably want to disable the focus ring.
|
// If you enable the border, you probably want to disable the focus ring.
|
||||||
off
|
off
|
||||||
|
|
||||||
width 3
|
width 4
|
||||||
active-color "#ffc87f"
|
active-color "#ffc87f"
|
||||||
inactive-color "#505050"
|
inactive-color "#505050"
|
||||||
|
|
||||||
|
@ -211,7 +211,7 @@ spawn-at-startup "swww-daemon"
|
||||||
spawn-at-startup "wl-paste --type text --watch cliphist store # Stores only text data"
|
spawn-at-startup "wl-paste --type text --watch cliphist store # Stores only text data"
|
||||||
spawn-at-startup "wl-paste --type image --watch cliphist store # Stores only image data"
|
spawn-at-startup "wl-paste --type image --watch cliphist store # Stores only image data"
|
||||||
spawn-at-startup "~/Code/nixos-config/scripts/swww.sh ~/Code/wallpaper"
|
spawn-at-startup "~/Code/nixos-config/scripts/swww.sh ~/Code/wallpaper"
|
||||||
spawn-at-startup "zen"
|
spawn-at-startup "firefox"
|
||||||
spawn-at-startup "kitty"
|
spawn-at-startup "kitty"
|
||||||
|
|
||||||
hotkey-overlay {
|
hotkey-overlay {
|
||||||
|
@ -258,10 +258,6 @@ window-rule {
|
||||||
default-column-width {}
|
default-column-width {}
|
||||||
}
|
}
|
||||||
|
|
||||||
window-rule {
|
|
||||||
match title="rofi"
|
|
||||||
open-floating true
|
|
||||||
}
|
|
||||||
// Example: block out two password managers from screen capture.
|
// Example: block out two password managers from screen capture.
|
||||||
// (This example rule is commented out with a "/-" in front.)
|
// (This example rule is commented out with a "/-" in front.)
|
||||||
/-window-rule {
|
/-window-rule {
|
||||||
|
@ -279,7 +275,7 @@ window-rule {
|
||||||
window-rule {
|
window-rule {
|
||||||
geometry-corner-radius 5
|
geometry-corner-radius 5
|
||||||
clip-to-geometry true
|
clip-to-geometry true
|
||||||
opacity 0.98
|
opacity 0.95
|
||||||
}
|
}
|
||||||
|
|
||||||
binds {
|
binds {
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
configuration {
|
|
||||||
font: "Inter Semibold 13px";
|
|
||||||
icon-theme: "Papirus-Dark";
|
|
||||||
}
|
|
||||||
|
|
||||||
@theme "~/.config/rofi/theme/cherry-midnight.rasi"
|
|
Binary file not shown.
Before Width: | Height: | Size: 264 KiB |
|
@ -1,8 +0,0 @@
|
||||||
#
|
|
||||||
# rofi-session configuration
|
|
||||||
#
|
|
||||||
|
|
||||||
icon=true
|
|
||||||
choices=lockscreen:logout:reboot:shutdown
|
|
||||||
label=false
|
|
||||||
theme=~/.config/rofi/theme/cherry-midnight.session.rasi
|
|
|
@ -1,104 +0,0 @@
|
||||||
configuration {
|
|
||||||
show-icons: true;
|
|
||||||
display-run: ">_";
|
|
||||||
}
|
|
||||||
|
|
||||||
* {
|
|
||||||
color0: #33333f;
|
|
||||||
color1: #ff568e;
|
|
||||||
color2: #64de83;
|
|
||||||
color3: #efff73;
|
|
||||||
color4: #73a9ff;
|
|
||||||
color5: #946ff7;
|
|
||||||
color6: #62c6da;
|
|
||||||
color7: #dedeef;
|
|
||||||
|
|
||||||
bg: #101017f0;
|
|
||||||
bg-alt: #1f222e;
|
|
||||||
fg: #bdc3c7;
|
|
||||||
|
|
||||||
color: @fg;
|
|
||||||
background-color: transparent;
|
|
||||||
highlight: underline bold #ff568e;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
border: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
window {
|
|
||||||
width: 480px;
|
|
||||||
children: [ mainbox];
|
|
||||||
location: center;
|
|
||||||
transparency: "real";
|
|
||||||
background-color: @bg;
|
|
||||||
}
|
|
||||||
|
|
||||||
mainbox {
|
|
||||||
orientation: vertical;
|
|
||||||
children: [ inputbar, message, listview, mode-switcher];
|
|
||||||
border: 1px;
|
|
||||||
border-color: @color0;
|
|
||||||
}
|
|
||||||
|
|
||||||
inputbar {
|
|
||||||
padding: 1em;
|
|
||||||
children: [prompt,entry];
|
|
||||||
spacing: -1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
prompt {
|
|
||||||
background-color: @color1;
|
|
||||||
padding: 15px;
|
|
||||||
text-color: @bg;
|
|
||||||
border-radius: 50% 0 0 50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
entry {
|
|
||||||
padding: 15px 30px 15px 15px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0 100% 100% 0;
|
|
||||||
background-color: @bg;
|
|
||||||
text-color: @fg;
|
|
||||||
}
|
|
||||||
|
|
||||||
message {
|
|
||||||
padding: 0 0 1em 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox {
|
|
||||||
background-color: @color1;
|
|
||||||
padding: 0 1.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
listview {
|
|
||||||
margin: 0.5em 0 0 0;
|
|
||||||
lines: 6;
|
|
||||||
}
|
|
||||||
|
|
||||||
element {
|
|
||||||
padding: 0.5em;
|
|
||||||
color: @fg;
|
|
||||||
}
|
|
||||||
|
|
||||||
element selected.normal {
|
|
||||||
background-color: @bg-alt;
|
|
||||||
}
|
|
||||||
|
|
||||||
element-icon {
|
|
||||||
padding: 0 0.5em 0 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
mode-switcher {
|
|
||||||
padding: 0 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
|
||||||
margin: 0.3em 0 0.5em;
|
|
||||||
padding: 0.3em;
|
|
||||||
border-radius: 50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
button selected {
|
|
||||||
background-color: @color5;
|
|
||||||
text-color: @color0;
|
|
||||||
}
|
|
|
@ -1,93 +0,0 @@
|
||||||
configuration {
|
|
||||||
show-icons: true;
|
|
||||||
}
|
|
||||||
|
|
||||||
* {
|
|
||||||
color0: #33333f;
|
|
||||||
color1: #ff568e;
|
|
||||||
color2: #64de83;
|
|
||||||
color3: #efff73;
|
|
||||||
color4: #73a9ff;
|
|
||||||
color5: #946ff7;
|
|
||||||
color6: #62c6da;
|
|
||||||
color7: #dedeef;
|
|
||||||
|
|
||||||
bg: #101017;
|
|
||||||
bg-alt: #1f222e;
|
|
||||||
fg: #bdc3c7;
|
|
||||||
|
|
||||||
color: @fg;
|
|
||||||
background-color: transparent;
|
|
||||||
highlight: underline bold #ff568e;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
border: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
window {
|
|
||||||
children: [ mainbox];
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
width: 480px;
|
|
||||||
background-color: #101017f0;
|
|
||||||
}
|
|
||||||
|
|
||||||
mainbox {
|
|
||||||
children: [ inputbar, listview, message];
|
|
||||||
border: 1px;
|
|
||||||
border-color: @color0;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
inputbar {
|
|
||||||
children: [ textbox-prompt-colon, prompt];
|
|
||||||
spacing: -1px;
|
|
||||||
padding: 3em;
|
|
||||||
background-image: url("~/.config/rofi/images/header-1.jpg", width);
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 15px;
|
|
||||||
border-radius: 100% 0 0 100%;
|
|
||||||
background-color: @color5;
|
|
||||||
text-color: @bg;
|
|
||||||
}
|
|
||||||
|
|
||||||
prompt {
|
|
||||||
padding: 15px 30px 15px 15px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0 100% 100% 0;
|
|
||||||
background-color: #101017f0;
|
|
||||||
}
|
|
||||||
|
|
||||||
listview {
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
spacing: -1px;
|
|
||||||
margin: 2em;
|
|
||||||
border-radius: 50px;
|
|
||||||
border: 1px;
|
|
||||||
border-color: @bg-alt;
|
|
||||||
text-color: @fg;
|
|
||||||
background-color: #101017f0;
|
|
||||||
}
|
|
||||||
|
|
||||||
element {
|
|
||||||
padding: 20px;
|
|
||||||
border-radius: 50%;
|
|
||||||
orientation: vertical;
|
|
||||||
children: [ element-icon];
|
|
||||||
}
|
|
||||||
|
|
||||||
element-icon {
|
|
||||||
size: 32px;
|
|
||||||
}
|
|
||||||
|
|
||||||
element selected.normal {
|
|
||||||
border-radius: 50%;
|
|
||||||
background-color: #ff568e25;
|
|
||||||
border: 1px;
|
|
||||||
border-color: #ff568e;
|
|
||||||
}
|
|
|
@ -1,105 +0,0 @@
|
||||||
configuration {
|
|
||||||
show-icons: true;
|
|
||||||
display-run: ">_";
|
|
||||||
}
|
|
||||||
|
|
||||||
* {
|
|
||||||
color0: #43434f;
|
|
||||||
color1: #ff568e;
|
|
||||||
color2: #64de83;
|
|
||||||
color3: #efff73;
|
|
||||||
color4: #73a9ff;
|
|
||||||
color5: #946ff7;
|
|
||||||
color6: #62c6da;
|
|
||||||
color7: #dedeef;
|
|
||||||
|
|
||||||
bg: #23232ff0;
|
|
||||||
bg-alt: #3c3e4d;
|
|
||||||
fg: #bdc3c7;
|
|
||||||
|
|
||||||
color: @fg;
|
|
||||||
background-color: transparent;
|
|
||||||
highlight: underline bold #ff568e;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
border: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
window {
|
|
||||||
width: 480px;
|
|
||||||
children: [ mainbox];
|
|
||||||
location: center;
|
|
||||||
transparency: "real";
|
|
||||||
background-color: @bg;
|
|
||||||
}
|
|
||||||
|
|
||||||
mainbox {
|
|
||||||
orientation: vertical;
|
|
||||||
children: [ inputbar, message, listview, mode-switcher];
|
|
||||||
border: 1px;
|
|
||||||
border-color: @color0;
|
|
||||||
}
|
|
||||||
|
|
||||||
inputbar {
|
|
||||||
padding: 3em;
|
|
||||||
background-image: url("~/.config/rofi/images/header-1.jpg", width);
|
|
||||||
children: [prompt,entry];
|
|
||||||
spacing: -1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
prompt {
|
|
||||||
background-color: @color1;
|
|
||||||
padding: 15px;
|
|
||||||
text-color: @bg;
|
|
||||||
border-radius: 50% 0 0 50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
entry {
|
|
||||||
padding: 15px 30px 15px 15px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0 100% 100% 0;
|
|
||||||
background-color: @bg;
|
|
||||||
text-color: @fg;
|
|
||||||
}
|
|
||||||
|
|
||||||
message {
|
|
||||||
padding: 0 0 1em 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox {
|
|
||||||
background-color: @color1;
|
|
||||||
padding: 0 1.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
listview {
|
|
||||||
margin: 0.5em 0 0 0;
|
|
||||||
lines: 6;
|
|
||||||
}
|
|
||||||
|
|
||||||
element {
|
|
||||||
padding: 0.5em;
|
|
||||||
color: @fg;
|
|
||||||
}
|
|
||||||
|
|
||||||
element selected.normal {
|
|
||||||
background-color: @bg-alt;
|
|
||||||
}
|
|
||||||
|
|
||||||
element-icon {
|
|
||||||
padding: 0 0.5em 0 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
mode-switcher {
|
|
||||||
padding: 0 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
|
||||||
margin: 0.3em 0 0.5em;
|
|
||||||
padding: 0.3em;
|
|
||||||
border-radius: 50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
button selected {
|
|
||||||
background-color: @color5;
|
|
||||||
text-color: @color0;
|
|
||||||
}
|
|
|
@ -17,15 +17,15 @@
|
||||||
"niri/window"
|
"niri/window"
|
||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
//"network",
|
"network",
|
||||||
//"cpu",
|
"cpu",
|
||||||
//"memory",
|
"memory",
|
||||||
"battery",
|
"battery",
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
//"custom/cliphist",
|
"custom/cliphist",
|
||||||
"tray",
|
"tray",
|
||||||
"clock"
|
"clock",
|
||||||
//"custom/exit"
|
"custom/exit"
|
||||||
],
|
],
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
"tray": {
|
"tray": {
|
||||||
|
@ -34,9 +34,7 @@
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
"clock": {
|
"clock": {
|
||||||
//"format": "{:%a %d %b %H:%M}",
|
"format": "{:%a %d %b %H:%M}",
|
||||||
"format": "{:L%a %d %b %R}",
|
|
||||||
"locale": "fr_FR.utf8",
|
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
"cpu": {
|
"cpu": {
|
||||||
|
@ -132,5 +130,5 @@
|
||||||
"on-click-right": "sleep 0.1 && ~/Code/nixos-config/scripts/cliphist.sh d",
|
"on-click-right": "sleep 0.1 && ~/Code/nixos-config/scripts/cliphist.sh d",
|
||||||
"on-click-middle": "sleep 0.1 && ~/Code/nixos-config/scripts/cliphist.sh w",
|
"on-click-middle": "sleep 0.1 && ~/Code/nixos-config/scripts/cliphist.sh w",
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
* {
|
* {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
font-family: "Inter Display Medium";
|
font-family: "Iosevka Nerd Font Mono";
|
||||||
}
|
}
|
||||||
window#waybar {
|
window#waybar {
|
||||||
all: unset;
|
all: unset;
|
||||||
|
@ -33,16 +33,15 @@ window#waybar {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
.modules-left {
|
.modules-left {
|
||||||
margin-left: 0px;
|
margin-left: 9px;
|
||||||
}
|
}
|
||||||
.modules-right {
|
.modules-right {
|
||||||
margin-right: 0px;
|
margin-right: 9px;
|
||||||
}
|
}
|
||||||
tooltip {
|
tooltip {
|
||||||
background: @base;
|
background: @base;
|
||||||
color: @text;
|
color: @text;
|
||||||
}
|
}
|
||||||
#custom-appmenu,
|
|
||||||
#custom-wallpaper,
|
#custom-wallpaper,
|
||||||
#clock,
|
#clock,
|
||||||
#bluetooth,
|
#bluetooth,
|
||||||
|
@ -57,12 +56,11 @@ tooltip {
|
||||||
#window,
|
#window,
|
||||||
#workspaces {
|
#workspaces {
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
background: @base;
|
background: alpha(@base, 0.75);
|
||||||
box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.75);
|
box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.75);
|
||||||
color: @text;
|
color: @text;
|
||||||
padding: 2px 8px;
|
padding: 2px 8px;
|
||||||
margin: 3px;
|
margin: 3px;
|
||||||
min-width: 20px;
|
|
||||||
}
|
}
|
||||||
#custom-wallpaper:hover,
|
#custom-wallpaper:hover,
|
||||||
#clock:hover,
|
#clock:hover,
|
||||||
|
@ -78,7 +76,7 @@ tooltip {
|
||||||
#window:hover,
|
#window:hover,
|
||||||
#workspaces:hover {
|
#workspaces:hover {
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
background: alpha(@base, 0.85);
|
background: @base;
|
||||||
}
|
}
|
||||||
|
|
||||||
#network {
|
#network {
|
||||||
|
@ -91,7 +89,7 @@ tooltip {
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
padding: 0px;
|
padding: 1px;
|
||||||
margin: 1px;
|
margin: 1px;
|
||||||
color: @text;
|
color: @text;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
boot.loader.systemd-boot.consoleMode = "0";
|
boot.loader.systemd-boot.consoleMode = "0";
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
networking.hostName = "jimbei"; # Define your hostname.
|
networking.hostName = "nami"; # Define your hostname.
|
||||||
networking.extraHosts = ''
|
networking.extraHosts = ''
|
||||||
127.0.0.1 yeswiki.test
|
127.0.0.1 yeswiki.test
|
||||||
'';
|
'';
|
|
@ -13,7 +13,7 @@ if [[ $# -lt 1 ]] || [[ ! -d $1 ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Edit below to control the images transition
|
# Edit below to control the images transition
|
||||||
export SWWW_TRANSITION_FPS=240
|
export SWWW_TRANSITION_FPS=120
|
||||||
export SWWW_TRANSITION_DURATION=1
|
export SWWW_TRANSITION_DURATION=1
|
||||||
export SWWW_TRANSITION_STEP=2
|
export SWWW_TRANSITION_STEP=2
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue