nwg-look
This commit is contained in:
15
config/fish/apply-color-nwg-look
Executable file
15
config/fish/apply-color-nwg-look
Executable file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
path=$(dirname "$(readlink -f "$0")")
|
||||||
|
. "$path"/../../utils/apply-color-helper
|
||||||
|
|
||||||
|
file="$HOME/.local/share/nwg-look/gsettings"
|
||||||
|
|
||||||
|
sed -i -E "s/^(gtk-theme=catppuccin-mocha-)[^-]+(-standard\+default)$/\1${colorName}\2/" "$file" || {
|
||||||
|
log_error "Failed to edit ${file}"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
nwg-look -a -x
|
||||||
|
|
||||||
|
log_success "nwg-look"
|
||||||
@@ -291,7 +291,7 @@ screenshot-path "~/Pictures/Screenshots/.niri_screenshot.png"
|
|||||||
binds {
|
binds {
|
||||||
// Apps
|
// Apps
|
||||||
Mod+C { spawn-sh "code --password-store=gnome-libsecret"; }
|
Mod+C { spawn-sh "code --password-store=gnome-libsecret"; }
|
||||||
Mod+E { spawn "dolphin"; }
|
Mod+E { spawn-sh "nautilus --new-window"; }
|
||||||
Mod+W { spawn "zen"; }
|
Mod+W { spawn "zen"; }
|
||||||
Mod+X { spawn "gnome-text-editor" "--new-window"; }
|
Mod+X { spawn "gnome-text-editor" "--new-window"; }
|
||||||
Mod+B { spawn-sh "pkill -x -n btop || ghostty -e btop"; }
|
Mod+B { spawn-sh "pkill -x -n btop || ghostty -e btop"; }
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ NPanel {
|
|||||||
|
|
||||||
preferredWidth: 380
|
preferredWidth: 380
|
||||||
preferredHeight: 500
|
preferredHeight: 500
|
||||||
panelKeyboardFocus: true
|
|
||||||
|
|
||||||
panelContent: Rectangle {
|
panelContent: Rectangle {
|
||||||
color: Color.transparent
|
color: Color.transparent
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ NPanel {
|
|||||||
|
|
||||||
preferredWidth: 400
|
preferredWidth: 400
|
||||||
preferredHeight: 500
|
preferredHeight: 500
|
||||||
panelKeyboardFocus: true
|
|
||||||
onOpened: NetworkService.scan()
|
onOpened: NetworkService.scan()
|
||||||
|
|
||||||
panelContent: Rectangle {
|
panelContent: Rectangle {
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ SCRIPTS = {
|
|||||||
"fuzzel": [CONFIG_DIR / "fuzzel" / "apply-color"],
|
"fuzzel": [CONFIG_DIR / "fuzzel" / "apply-color"],
|
||||||
"hypr": [CONFIG_DIR / "hypr" / "apply-color"],
|
"hypr": [CONFIG_DIR / "hypr" / "apply-color"],
|
||||||
"kvantum": [CONFIG_DIR / "fish" / "apply-color-kvantum"], # borrowing fish's directory
|
"kvantum": [CONFIG_DIR / "fish" / "apply-color-kvantum"], # borrowing fish's directory
|
||||||
|
"nwg-look": [CONFIG_DIR / "fish" / "apply-color-nwg-look"], # borrowing fish's directory
|
||||||
"mako": [CONFIG_DIR / "mako" / "apply-color"],
|
"mako": [CONFIG_DIR / "mako" / "apply-color"],
|
||||||
"niri": [CONFIG_DIR / "niri" / "apply-color"],
|
"niri": [CONFIG_DIR / "niri" / "apply-color"],
|
||||||
"oh-my-posh": [CONFIG_DIR / "fish" / "apply-color-omp"], # borrowing fish's directory
|
"oh-my-posh": [CONFIG_DIR / "fish" / "apply-color-omp"], # borrowing fish's directory
|
||||||
|
|||||||
Reference in New Issue
Block a user