add home-nix
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
################
|
||||||
|
### MONITORS ###
|
||||||
|
################
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||||
|
monitor=Virtual-1,1920x1080,0x0,1
|
||||||
|
|
||||||
|
workspace = 1, monitor:Virtual-1
|
||||||
|
workspace = 2, monitor:Virtual-1
|
||||||
|
workspace = 3, monitor:Virtual-1
|
||||||
|
workspace = 4, monitor:Virtual-1
|
||||||
|
workspace = 5, monitor:Virtual-1
|
||||||
|
workspace = 6, monitor:Virtual-1
|
||||||
|
workspace = 7, monitor:Virtual-1
|
||||||
|
workspace = 8, monitor:Virtual-1
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
Shutdown\0icon\x1fsystem-shutdown
|
Shutdown\0icon\x1fsystem-shutdown
|
||||||
Reboot\0icon\x1fsystem-reboot
|
Reboot\0icon\x1fsystem-reboot
|
||||||
Exit hyprland\0icon\x1fsystem-log-out
|
Exit hyprland\0icon\x1fsystem-log-out
|
||||||
Reload hyprland\0icon\x1fsystem-log-out" | ${pkgs.rofi-wayland}/bin/rofi -dmenu -show-icons -i -theme /etc/xdg/rofi/disconnect.rasi -p System)
|
Reload hyprland\0icon\x1fsystem-log-out" | ${pkgs.rofi}/bin/rofi -dmenu -show-icons -i -theme /etc/xdg/rofi/disconnect.rasi -p System)
|
||||||
|
|
||||||
echo "$selected"
|
echo "$selected"
|
||||||
|
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
_LINES="$(curl "http://10.0.0.1:2013/$1" 2>/dev/null | sed -e "s|.*<a href=\"\([^\"]*\).*|$1\1|" -e "s/.*<.*\|.*C=D.*\|.*\/\/$\|.*.nfo//" -e "/^$/d")"
|
_LINES="$(curl "http://10.0.0.1:2013/$1" 2>/dev/null | sed -e "s|.*<a href=\"\([^\"]*\).*|$1\1|" -e "s/.*<.*\|.*C=D.*\|.*\/\/$\|.*.nfo//" -e "/^$/d")"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_RESULT=$(${pkgs.rofi-wayland}/bin/rofi -dmenu -config /etc/xdg/rofi/config.rasi -i <<< "$_LINES")
|
_RESULT=$(${pkgs.rofi}/bin/rofi -dmenu -config /etc/xdg/rofi/config.rasi -i <<< "$_LINES")
|
||||||
|
|
||||||
# If no output
|
# If no output
|
||||||
echo "$_RESULT"
|
echo "$_RESULT"
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
pkgs.wl-clipboard
|
pkgs.wl-clipboard
|
||||||
pkgs.rofi-wayland
|
pkgs.rofi
|
||||||
pkgs.waybar
|
pkgs.waybar
|
||||||
pkgs.font-awesome
|
pkgs.font-awesome
|
||||||
pkgs.hyprlock
|
pkgs.hyprlock
|
||||||
|
|||||||
Reference in New Issue
Block a user