Changed: Programms
This commit is contained in:
@@ -7,7 +7,7 @@ let
|
||||
theme = "-theme $HOME/.config/rofi/catppuccin-default.rasi";
|
||||
menu = "rofi -show drun ${theme}";
|
||||
filebrowser = "rofi -show filebrowser ${theme}";
|
||||
power = "~/.config/rofi/powermenu/type-6/powermenu.sh";
|
||||
power = "rofi -show p -modi p:rofi-power-menu";
|
||||
in
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
@@ -105,48 +105,48 @@ in
|
||||
allow_tearing = false;
|
||||
};
|
||||
|
||||
decoration = {
|
||||
rounding = 12;
|
||||
decoration = {
|
||||
rounding = 12;
|
||||
|
||||
shadow = {
|
||||
enabled = true;
|
||||
range = 16;
|
||||
render_power = 4;
|
||||
ignore_window = true;
|
||||
color = "$green";
|
||||
color_inactive = "$red";
|
||||
};
|
||||
shadow = {
|
||||
enabled = true;
|
||||
range = 16;
|
||||
render_power = 4;
|
||||
ignore_window = true;
|
||||
color = "$green";
|
||||
color_inactive = "$red";
|
||||
};
|
||||
|
||||
blur = {
|
||||
enabled = true;
|
||||
size = 1;
|
||||
passes = 3;
|
||||
new_optimizations = 1;
|
||||
noise = 0.04;
|
||||
};
|
||||
};
|
||||
blur = {
|
||||
enabled = true;
|
||||
size = 1;
|
||||
passes = 3;
|
||||
new_optimizations = 1;
|
||||
noise = 0.04;
|
||||
};
|
||||
};
|
||||
|
||||
animations = {
|
||||
enabled = "yes";
|
||||
bezier = "myBezier, 0.05, 0.9, 0.1, 1.05";
|
||||
animation = [
|
||||
"windows, 1, 7, myBezier"
|
||||
"windowsOut, 1, 7, default, popin 80%"
|
||||
"border, 1, 10, default"
|
||||
"borderangle, 1, 8, default"
|
||||
"fade, 1, 7, default"
|
||||
"workspaces, 1, 6, default"
|
||||
];
|
||||
};
|
||||
animations = {
|
||||
enabled = "yes";
|
||||
bezier = "myBezier, 0.05, 0.9, 0.1, 1.05";
|
||||
animation = [
|
||||
"windows, 1, 7, myBezier"
|
||||
"windowsOut, 1, 7, default, popin 80%"
|
||||
"border, 1, 10, default"
|
||||
"borderangle, 1, 8, default"
|
||||
"fade, 1, 7, default"
|
||||
"workspaces, 1, 6, default"
|
||||
];
|
||||
};
|
||||
|
||||
layerrule = [
|
||||
"blur,gtk-layer-shell"
|
||||
"ignorezero,gtk-layer-shell"
|
||||
"blur,notifications"
|
||||
"ignorezero,notifications"
|
||||
"blur,rofi"
|
||||
"ignorezero,rofi"
|
||||
];
|
||||
layerrule = [
|
||||
"blur,gtk-layer-shell"
|
||||
"ignorezero,gtk-layer-shell"
|
||||
"blur,notifications"
|
||||
"ignorezero,notifications"
|
||||
"blur,rofi"
|
||||
"ignorezero,rofi"
|
||||
];
|
||||
|
||||
|
||||
dwindle = {
|
||||
@@ -174,6 +174,15 @@ in
|
||||
|
||||
windowrulev2 = "suppressevent maximize, class:.*";
|
||||
|
||||
windowrule = [
|
||||
"opacity 0.0 override, class:^(xwaylandvideobridge)$"
|
||||
"noanim, class:^(xwaylandvideobridge)$"
|
||||
"noinitialfocus, class:^(xwaylandvideobridge)$"
|
||||
"maxsize 1 1, class:^(xwaylandvideobridge)$"
|
||||
"noblur, class:^(xwaylandvideobridge)$"
|
||||
"nofocus, class:^(xwaylandvideobridge)$"
|
||||
];
|
||||
|
||||
exec-once = [
|
||||
"waybar &"
|
||||
"hyprpaper &"
|
||||
@@ -189,12 +198,12 @@ in
|
||||
"${super}, V, togglefloating, "
|
||||
"${super}, R, exec, ${menu}"
|
||||
"${super}, S, exec, ${power}"
|
||||
"${super}, F, exec, ${filebrowser}"
|
||||
"${super}, F, exec, ${filebrowser}"
|
||||
"${super}, P, pseudo, " # dwindle
|
||||
"${super}, J, togglesplit, "# dwindle
|
||||
"${super}, O, exec, obsidian"
|
||||
"${super}, I, exec, firefox"
|
||||
"${super}, G, exec, thunderbird"
|
||||
"${super}, O, exec, obsidian"
|
||||
"${super}, I, exec, firefox"
|
||||
"${super}, G, exec, thunderbird"
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
"${super}, left, movefocus, l"
|
||||
@@ -236,8 +245,8 @@ in
|
||||
|
||||
# Screenshot
|
||||
''${super}, Z, exec, grim -g "$(slurp)" $HOME/Pictures/Screenshots/$(date +'%s_grim.png')''
|
||||
''${super}, U, exec, grim $HOME/Pictures/Screenshots/$(date +'%s_grim.png')''
|
||||
];
|
||||
''${super}, U, exec, grim $HOME/Pictures/Screenshots/$(date +'%s_grim.png')''
|
||||
];
|
||||
|
||||
bindl = [
|
||||
#", XF86AudioMute, exec, amixer set Master toggle
|
||||
|
@@ -3,6 +3,10 @@
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs; [
|
||||
rofi-power-menu
|
||||
];
|
||||
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
cycle = false;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
#!nix-shell python3 -p "python3.withPackages (ps: with ps; [requests])"
|
||||
|
||||
import datetime
|
||||
import json
|
||||
@@ -6,8 +6,6 @@ import requests
|
||||
import statistics
|
||||
import sys
|
||||
|
||||
|
||||
|
||||
# TODO
|
||||
# - snowfall data
|
||||
# - weather warnings
|
||||
|
@@ -127,7 +127,6 @@
|
||||
];
|
||||
|
||||
modules-center = [
|
||||
"custom/weather"
|
||||
];
|
||||
|
||||
modules-right = [
|
||||
@@ -143,7 +142,7 @@
|
||||
};
|
||||
|
||||
"custom/weather" = {
|
||||
exec = "python3 ~/.config/waybar/weather.py waybar";
|
||||
exec = "~/.config/waybar/weather.py waybar";
|
||||
restart-interval = 900;
|
||||
return-type = "json";
|
||||
};
|
||||
|
Reference in New Issue
Block a user