kekl
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/hardware-configuration.nix
|
@ -34,7 +34,6 @@ in
|
||||
#};
|
||||
};
|
||||
};
|
||||
|
||||
boot = {
|
||||
loader = {
|
||||
systemd-boot = {
|
||||
@ -58,6 +57,8 @@ in
|
||||
80
|
||||
1337
|
||||
8080
|
||||
3000
|
||||
8000
|
||||
];
|
||||
};
|
||||
};
|
||||
@ -83,10 +84,14 @@ in
|
||||
xserver = {
|
||||
enable = true;
|
||||
displayManager.startx.enable = true;
|
||||
windowManager.bspwm.enable = true;
|
||||
windowManager = {
|
||||
bspwm.enable = true;
|
||||
dwm.enable = false;
|
||||
i3.enable = true;
|
||||
};
|
||||
};
|
||||
pipewire = {
|
||||
enable = false;
|
||||
enable = true;
|
||||
pulse.enable = true;
|
||||
wireplumber.enable = true;
|
||||
};
|
||||
@ -108,9 +113,6 @@ in
|
||||
rtl-sdr = {
|
||||
enable = true;
|
||||
};
|
||||
pulseaudio = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
@ -209,6 +211,7 @@ in
|
||||
|
||||
# libs
|
||||
python312Packages.pyserial
|
||||
python312Packages.meshtastic
|
||||
|
||||
# SDR
|
||||
noaa-apt
|
||||
@ -223,7 +226,7 @@ in
|
||||
|
||||
# misc
|
||||
cava
|
||||
discord
|
||||
vesktop
|
||||
pacman
|
||||
|
||||
];
|
||||
|
@ -15,6 +15,7 @@
|
||||
".wp/skull_purple.png".source = ./raw/wp/skull_purple.png;
|
||||
".wp/gruvbox-dark-blue.png".source = ./raw/wp/gruvbox-dark-blue.png;
|
||||
".wp/anime_blue.png".source = ./raw/wp/anime_blue.png;
|
||||
".wp/fuji.png".source = ./raw/wp/fuji.png;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -1,45 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
programs = {
|
||||
alacritty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
#terminal.shell = {
|
||||
# program = "tmux";
|
||||
#};
|
||||
colors = {
|
||||
primary = {
|
||||
background = "#161616";
|
||||
foreground = "#ffffff";
|
||||
};
|
||||
normal = {
|
||||
black = "#262626";
|
||||
magenta = "#ff7eb6";
|
||||
green = "#42be65";
|
||||
yellow = "#ffe97b";
|
||||
blue = "#33b1ff";
|
||||
red = "#ee5396";
|
||||
cyan = "#3ddbd9";
|
||||
white = "#dde1e6";
|
||||
};
|
||||
bright = {
|
||||
black = "#393939";
|
||||
magenta = "#ff7eb6";
|
||||
green = "#42be65";
|
||||
yellow = "#ffe97b";
|
||||
blue = "#33b1ff";
|
||||
red = "#ee5396";
|
||||
cyan = "#3ddbd9";
|
||||
white = "#ffffff";
|
||||
};
|
||||
};
|
||||
font = {
|
||||
size = 15;
|
||||
normal = {
|
||||
family = "FantasqueSansMNerdFont";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
pkgs-stable,
|
||||
...
|
||||
}:
|
||||
{
|
||||
services = {
|
||||
sxhkd = {
|
||||
enable = true;
|
||||
keybindings = {
|
||||
"super + Return" = "${pkgs.alacritty}/bin/alacritty";
|
||||
"super + space" = "${pkgs.rofi}/bin/rofi -show drun";
|
||||
"super + q" = "bspc node -k";
|
||||
|
||||
"super + shift + r" = "bspc wm -r";
|
||||
"super + shift + space" = "bspc node focused -t \~floating";
|
||||
"super + {1,2,3,4,5,6,7,8,9,0}" = "bspc desktop -f {1,2,3,4,5,6,7,8,9,0}";
|
||||
"super + shift + {1-9,0}" = "bspc node -d '^{1-9,10}'";
|
||||
"super + Escape" = "pkill -USR1 -x sxhkd";
|
||||
};
|
||||
};
|
||||
};
|
||||
xsession.windowManager.bspwm = {
|
||||
enable = true;
|
||||
settings = {
|
||||
border_width = 2;
|
||||
gapless_monocle = false;
|
||||
split_ratio = 0.52;
|
||||
window_gap = "10";
|
||||
focus_follows_pointer = true;
|
||||
borderless_monocle = true;
|
||||
};
|
||||
extraConfig = ''
|
||||
sxhkd -c ~/.config/sxhkd/sxhkdrc &
|
||||
${pkgs.feh}/bin/feh --bg-fill ~/.wp/anime_blue.png &
|
||||
bspc monitor -d 1 2 3 4 5 6 7 8 9 0
|
||||
|
||||
|
||||
'';
|
||||
rules = {
|
||||
"kupfer.py" = {
|
||||
focus = true;
|
||||
};
|
||||
"screenkey" = {
|
||||
manage = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./bspwm.nix
|
||||
./alacritty.nix
|
||||
];
|
||||
#home.file = {
|
||||
|
||||
#};
|
||||
}
|
@ -2,8 +2,7 @@
|
||||
{
|
||||
imports = [
|
||||
./nvim/default.nix
|
||||
./bspwm/default.nix
|
||||
./hypr/default.nix
|
||||
./sway/default.nix
|
||||
./bash.nix
|
||||
./git.nix
|
||||
./tmux.nix
|
||||
|
@ -1,12 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./hypr.nix
|
||||
./kitty.nix
|
||||
];
|
||||
home.file = {
|
||||
# WAYBAR
|
||||
".config/waybar/style.css".source = ./raw/waybar/style.css;
|
||||
".config/waybar/config".source = ./raw/waybar/config;
|
||||
};
|
||||
}
|
@ -1,82 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
systemd.enable = true;
|
||||
extraConfig = ''
|
||||
bindel = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bindel = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
bindl = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
bindl = , XF86AudioPlay, exec, ${pkgs.playerctl}/bin/playerctl play-pause
|
||||
bindl = , XF86AudioPrev, exec, ${pkgs.playerctl}/bin/playerctl previous
|
||||
bindl = , XF86AudioNext, exec, ${pkgs.playerctl}/bin/playerctl next
|
||||
'';
|
||||
settings = {
|
||||
"monitor" = ",2560x1440@144, 0x0, 1, bitdepth,10";
|
||||
"$mod" = "SUPER";
|
||||
exec-once = [
|
||||
"waybar &"
|
||||
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
|
||||
"${pkgs.swaybg}/bin/swaybg -i ~/.wp/anime_blue.png"
|
||||
];
|
||||
bind = [
|
||||
"$mod, RETURN, exec, ${pkgs.kitty}/bin/kitty"
|
||||
"$mod, space, exec, ${pkgs.wofi}/bin/wofi --show drun"
|
||||
"$mod, Q, killactive"
|
||||
"$mod SHIFT, space, togglefloating"
|
||||
|
||||
"$mod, 1, workspace, 1"
|
||||
"$mod, 2, workspace, 2"
|
||||
"$mod, 3, workspace, 3"
|
||||
"$mod, 4, workspace, 4"
|
||||
"$mod, 5, workspace, 5"
|
||||
"$mod, 6, workspace, 6"
|
||||
"$mod, 7, workspace, 7"
|
||||
"$mod, 8, workspace, 8"
|
||||
"$mod, 9, workspace, 9"
|
||||
|
||||
"$mod SHIFT, 1, movetoworkspace, 1"
|
||||
"$mod SHIFT, 2, movetoworkspace, 2"
|
||||
"$mod SHIFT, 3, movetoworkspace, 3"
|
||||
"$mod SHIFT, 4, movetoworkspace, 4"
|
||||
"$mod SHIFT, 5, movetoworkspace, 5"
|
||||
"$mod SHIFT, 6, movetoworkspace, 6"
|
||||
"$mod SHIFT, 7, movetoworkspace, 7"
|
||||
"$mod SHIFT, 8, movetoworkspace, 8"
|
||||
"$mod SHIFT, 9, movetoworkspace, 9"
|
||||
|
||||
#"bind = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+"
|
||||
#"bind = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
||||
#"bind = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
||||
#"bind = ,XF86AudioPlay, exec, playerctl play-pause"
|
||||
#"bind = ,XF86AudioPrev, exec, playerctl previous"
|
||||
#"bind = ,XF86AudioNext, exec, playerctl next"
|
||||
];
|
||||
|
||||
bindm = [
|
||||
"$mod, mouse:272, movewindow"
|
||||
"$mod, mouse:273, resizewindow"
|
||||
"$mod ALT, mouse:272, resizewindow"
|
||||
];
|
||||
|
||||
decoration = {
|
||||
rounding = 2;
|
||||
};
|
||||
general = {
|
||||
gaps_in = 8;
|
||||
gaps_out = 8;
|
||||
border_size = 1;
|
||||
resize_on_border = true;
|
||||
};
|
||||
input = {
|
||||
kb_layout = "us";
|
||||
natural_scroll = false;
|
||||
};
|
||||
gestures = {
|
||||
workspace_swipe = true;
|
||||
workspace_swipe_forever = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
@ -1,68 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
programs = {
|
||||
kitty = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
font_size 15.0
|
||||
cursor_shape beam
|
||||
close_window true
|
||||
confirm_os_window_close 0
|
||||
font_family FantasqueSansMNerdFont
|
||||
foreground #dde1e6
|
||||
background #161616
|
||||
selection_foreground #f2f4f8
|
||||
selection_background #525252
|
||||
|
||||
cursor #f2f4f8
|
||||
cursor_text_color #393939
|
||||
|
||||
url_color #ee5396
|
||||
url_style single
|
||||
|
||||
active_border_color #ee5396
|
||||
inactive_border_color #ff7eb6
|
||||
|
||||
bell_border_color #ee5396
|
||||
|
||||
wayland_titlebar_color system
|
||||
macos_titlebar_color system
|
||||
|
||||
active_tab_foreground #161616
|
||||
active_tab_background #ee5396
|
||||
inactive_tab_foreground #dde1e6
|
||||
inactive_tab_background #393939
|
||||
tab_bar_background #161616
|
||||
|
||||
color0 #262626
|
||||
color8 #393939
|
||||
|
||||
color1 #ff7eb6
|
||||
color9 #ff7eb6
|
||||
|
||||
color2 #42be65
|
||||
color10 #42be65
|
||||
|
||||
color3 #82cfff
|
||||
color11 #82cfff
|
||||
|
||||
color4 #33b1ff
|
||||
color12 #33b1ff
|
||||
|
||||
color5 #ee5396
|
||||
color13 #ee5396
|
||||
|
||||
color6 #3ddbd9
|
||||
color14 #3ddbd9
|
||||
|
||||
color7 #dde1e6
|
||||
color15 #ffffff
|
||||
|
||||
|
||||
'';
|
||||
};
|
||||
tmux = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
@ -1,192 +0,0 @@
|
||||
[
|
||||
{
|
||||
"battery": {
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-alt": "{icon} {time}",
|
||||
"format-charging": " {capacity}%",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"format-plugged": " {capacity}% ",
|
||||
"states": {
|
||||
"critical": 15,
|
||||
"good": 95,
|
||||
"warning": 30
|
||||
}
|
||||
},
|
||||
"cava#left": {
|
||||
"autosens": 1,
|
||||
"bar_delimiter": 0,
|
||||
"bars": 18,
|
||||
"format-icons": [
|
||||
"<span foreground='#cba6f7'>▁</span>",
|
||||
"<span foreground='#cba6f7'>▂</span>",
|
||||
"<span foreground='#cba6f7'>▃</span>",
|
||||
"<span foreground='#cba6f7'>▄</span>",
|
||||
"<span foreground='#89b4fa'>▅</span>",
|
||||
"<span foreground='#89b4fa'>▆</span>",
|
||||
"<span foreground='#89b4fa'>▇</span>",
|
||||
"<span foreground='#89b4fa'>█</span>"
|
||||
],
|
||||
"framerate": 60,
|
||||
"higher_cutoff_freq": 10000,
|
||||
"input_delay": 2,
|
||||
"lower_cutoff_freq": 50,
|
||||
"method": "pulse",
|
||||
"monstercat": false,
|
||||
"reverse": false,
|
||||
"source": "auto",
|
||||
"stereo": true,
|
||||
"waves": false
|
||||
},
|
||||
"cava#right": {
|
||||
"autosens": 1,
|
||||
"bar_delimiter": 0,
|
||||
"bars": 18,
|
||||
"format-icons": [
|
||||
"<span foreground='#cba6f7'>▁</span>",
|
||||
"<span foreground='#cba6f7'>▂</span>",
|
||||
"<span foreground='#cba6f7'>▃</span>",
|
||||
"<span foreground='#cba6f7'>▄</span>",
|
||||
"<span foreground='#89b4fa'>▅</span>",
|
||||
"<span foreground='#89b4fa'>▆</span>",
|
||||
"<span foreground='#89b4fa'>▇</span>",
|
||||
"<span foreground='#89b4fa'>█</span>"
|
||||
],
|
||||
"framerate": 60,
|
||||
"higher_cutoff_freq": 10000,
|
||||
"input_delay": 2,
|
||||
"lower_cutoff_freq": 50,
|
||||
"method": "pulse",
|
||||
"monstercat": false,
|
||||
"reverse": false,
|
||||
"source": "auto",
|
||||
"stereo": true,
|
||||
"waves": false
|
||||
},
|
||||
"clock": {
|
||||
"format": " {:%a, %d %b, %I:%M %p}",
|
||||
"format-alt": " {:%d/%m}",
|
||||
"tooltip": "true",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
|
||||
},
|
||||
"cpu": {
|
||||
"format": " {usage}%",
|
||||
"format-alt": " {avg_frequency} GHz",
|
||||
"interval": 5
|
||||
},
|
||||
"custom/launcher": {
|
||||
"format": "",
|
||||
"tooltip": "false"
|
||||
},
|
||||
"custom/playerctl#backward": {
|
||||
"format": " ",
|
||||
"on-click": "playerctl previous",
|
||||
"on-scroll-down": "playerctl volume .05-",
|
||||
"on-scroll-up": "playerctl volume .05+"
|
||||
},
|
||||
"custom/playerctl#foward": {
|
||||
"format": " ",
|
||||
"on-click": "playerctl next",
|
||||
"on-scroll-down": "playerctl volume .05-",
|
||||
"on-scroll-up": "playerctl volume .05+"
|
||||
},
|
||||
"custom/playerctl#play": {
|
||||
"exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"Paused": "<span> </span>",
|
||||
"Playing": "<span> </span>",
|
||||
"Stopped": "<span> </span>"
|
||||
},
|
||||
"on-click": "playerctl play-pause",
|
||||
"on-scroll-down": "playerctl volume .05-",
|
||||
"on-scroll-up": "playerctl volume .05+",
|
||||
"return-type": "json"
|
||||
},
|
||||
"custom/playerlabel": {
|
||||
"exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
|
||||
"format": "<span> {} </span>",
|
||||
"max-length": 40,
|
||||
"on-click": "",
|
||||
"return-type": "json"
|
||||
},
|
||||
"custom/randwall": {
|
||||
"format": ""
|
||||
},
|
||||
"height": 35,
|
||||
"layer": "top",
|
||||
"margin-bottom": 0,
|
||||
"margin-left": 0,
|
||||
"margin-right": 0,
|
||||
"margin-top": 0,
|
||||
"memory": {
|
||||
"format": " {}%",
|
||||
"format-alt": " {used}/{total} GiB",
|
||||
"interval": 5
|
||||
},
|
||||
"modules-center": [
|
||||
"wlr/workspaces",
|
||||
],
|
||||
"modules-left": [
|
||||
"cava#left",
|
||||
"custom/playerctl#backward",
|
||||
"custom/playerctl#play",
|
||||
"custom/playerctl#foward",
|
||||
],
|
||||
"modules-right": [
|
||||
"tray",
|
||||
"memory",
|
||||
"cpu",
|
||||
"battery",
|
||||
"pulseaudio",
|
||||
"network",
|
||||
"clock",
|
||||
],
|
||||
|
||||
"network": {
|
||||
"format-disconnected": " 0% ",
|
||||
"format-ethernet": " 100% ",
|
||||
"format-linked": "{ifname} (No IP)",
|
||||
"format-wifi": " {signalStrength}%",
|
||||
"tooltip-format": "Connected to {essid} {ifname} via {gwaddr}"
|
||||
},
|
||||
"position": "top",
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}%",
|
||||
"format-icons": {
|
||||
"default": [
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"format-muted": "",
|
||||
"on-click": "pavucontrol",
|
||||
"scroll-step": 5
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 20,
|
||||
"spacing": 8
|
||||
},
|
||||
"wlr/workspaces": {
|
||||
"active-only": true,
|
||||
"all-outputs": false,
|
||||
"disable-scroll": false,
|
||||
"format": "{name}",
|
||||
"format-icons": {
|
||||
"active": "",
|
||||
"default": "",
|
||||
"sort-by-number": true,
|
||||
"urgent": ""
|
||||
},
|
||||
"on-click": "activate",
|
||||
"on-scroll-down": "hyprctl dispatch workspace e+1",
|
||||
"on-scroll-up": "hyprctl dispatch workspace e-1"
|
||||
}
|
||||
}
|
||||
]
|
@ -1,147 +0,0 @@
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0px;
|
||||
font-family: Terminus Nerd Font;
|
||||
font-size: 15px;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
/* background: rgba(17,17,27,1); */
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#cava.left,
|
||||
#cava.right {
|
||||
/* background: #25253a; */
|
||||
|
||||
/*background: #25253a;*/
|
||||
background: #010101;
|
||||
margin: 5px;
|
||||
padding: 8px 16px;
|
||||
color: #cba6f7;
|
||||
}
|
||||
#cava.left {
|
||||
border-radius: 24px 24px 24px 24px;
|
||||
}
|
||||
#cava.right {
|
||||
border-radius: 10px 24px 10px 24px;
|
||||
}
|
||||
#workspaces {
|
||||
background: #11111b;
|
||||
margin: 5px 5px;
|
||||
padding: 8px 5px;
|
||||
border-radius: 16px;
|
||||
color: #cba6f7;
|
||||
}
|
||||
#workspaces button {
|
||||
padding: 0px 5px;
|
||||
margin: 0px 3px;
|
||||
border-radius: 16px;
|
||||
color: transparent;
|
||||
background: rgba(17, 17, 27, 1);
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
background-color: #89b4fa;
|
||||
color: #11111b;
|
||||
border-radius: 16px;
|
||||
min-width: 50px;
|
||||
background-size: 400% 400%;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background-color: #f5f5f5;
|
||||
color: #11111b;
|
||||
border-radius: 16px;
|
||||
min-width: 50px;
|
||||
background-size: 400% 400%;
|
||||
}
|
||||
|
||||
#tray,
|
||||
#pulseaudio,
|
||||
#network,
|
||||
#battery,
|
||||
#custom-playerctl.backward,
|
||||
#custom-playerctl.play,
|
||||
#custom-playerctl.foward {
|
||||
background: #010101;
|
||||
font-weight: bold;
|
||||
margin: 5px 0px;
|
||||
opacity: 1;
|
||||
}
|
||||
#tray,
|
||||
#pulseaudio,
|
||||
#network,
|
||||
#battery {
|
||||
color: #f5f5f5;
|
||||
border-radius: 24px 24px 24px 24px;
|
||||
padding: 0 20px;
|
||||
margin-left: 7px;
|
||||
}
|
||||
#clock {
|
||||
color: #f5f5f5;
|
||||
background: #010101;
|
||||
border-radius: 0px 0px 0px 40px;
|
||||
padding: 10px 10px 15px 25px;
|
||||
margin-left: 7px;
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
}
|
||||
#custom-launcher {
|
||||
color: #89b4fa;
|
||||
background: #010101;
|
||||
border-radius: 0px 0px 40px 0px;
|
||||
margin: 0px;
|
||||
padding: 0px 35px 0px 15px;
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
#custom-playerctl.backward,
|
||||
#custom-playerctl.play,
|
||||
#custom-playerctl.foward {
|
||||
background: #010101;
|
||||
font-size: 22px;
|
||||
}
|
||||
#custom-playerctl.backward:hover,
|
||||
#custom-playerctl.play:hover,
|
||||
#custom-playerctl.foward:hover {
|
||||
color: #f5f5f5;
|
||||
}
|
||||
#custom-playerctl.backward {
|
||||
color: #cba6f7;
|
||||
border-radius: 24px 0px 0px 24px;
|
||||
padding-left: 16px;
|
||||
margin-left: 7px;
|
||||
}
|
||||
#custom-playerctl.play {
|
||||
color: #89b4fa;
|
||||
padding: 0 5px;
|
||||
}
|
||||
#custom-playerctl.foward {
|
||||
color: #cba6f7;
|
||||
border-radius: 0px 24px 24px 0px;
|
||||
padding-right: 12px;
|
||||
margin-right: 7px;
|
||||
}
|
||||
#custom-playerlabel {
|
||||
background: #010101;
|
||||
color: #f5f5f5;
|
||||
padding: 0 20px;
|
||||
border-radius: 24px 24px 24px 24px;
|
||||
margin: 5px 0;
|
||||
font-weight: bold;
|
||||
}
|
||||
#window {
|
||||
/*background: #25253a; */
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
border-radius: 16px;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
opacity: 0.1;
|
||||
}
|
@ -35,6 +35,7 @@
|
||||
" ⠄⠁⠕⢝⡢⠈⠻⣿⣿⣿⣿⣿⣿⣿⣷⣕⣑⣑⣑⣵⣿⣿⣿⡿⢋⢔⢕⣿⠠⠈ "
|
||||
" ⠨⡂⡀⢑⢕⡅⠂⠄⠉⠛⠻⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⡿⢋⢔⢕⢕⣿⣿⠠⠈ "
|
||||
" ⠄⠪⣂⠁⢕⠆⠄⠂⠄⠁⡀⠂⡀⠄⢈⠉⢍⢛⢛⢛⢋⢔⢕⢕⢕⣽⣿⣿⠠⠈ "
|
||||
" i hate niggas "
|
||||
];
|
||||
}
|
||||
{
|
||||
|
@ -8,7 +8,6 @@ let
|
||||
nixvim = import (
|
||||
builtins.fetchGit {
|
||||
url = "https://github.com/nix-community/nixvim";
|
||||
ref = "nixos-24.11";
|
||||
}
|
||||
);
|
||||
in
|
||||
@ -27,8 +26,31 @@ in
|
||||
];
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
colorschemes.oxocarbon.enable = true;
|
||||
plugins = {
|
||||
transparent = {
|
||||
enable = true;
|
||||
settings = {
|
||||
groups = [
|
||||
"Normal"
|
||||
"NormalNC"
|
||||
"CursorLine"
|
||||
"StatusLine"
|
||||
"StatusLineNC"
|
||||
"EndOfBuffer"
|
||||
|
||||
];
|
||||
exclude_groups = [ ];
|
||||
extra_groups = [
|
||||
"BufferLineTabClose"
|
||||
"BufferLineBufferSelected"
|
||||
"BufferLineFill"
|
||||
"BufferLineBackground"
|
||||
"BufferLineSeparator"
|
||||
"BufferLineIndicatorSelected"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
neocord = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
@ -7,7 +7,7 @@
|
||||
{
|
||||
programs.nixvim.plugins = {
|
||||
clangd-extensions.enable = true;
|
||||
crates-nvim.enable = true;
|
||||
crates.enable = true;
|
||||
lsp-format = {
|
||||
enable = true;
|
||||
};
|
||||
|
@ -8,7 +8,12 @@
|
||||
programs.nixvim = {
|
||||
plugins = {
|
||||
lualine = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
settings = {
|
||||
options = {
|
||||
theme = "horizon";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -8,8 +8,7 @@
|
||||
programs.nixvim = {
|
||||
extraConfigLua = ''
|
||||
local map = vim.api.nvim_set_keymap
|
||||
local opts = { noremap = true, silent = true }
|
||||
|
||||
local opts = { noremap = true, silent = true }
|
||||
vim.g.mapleader = " "
|
||||
map('n', '<c-t>', ":ToggleTerm size=40 direction=float<CR>", opts)
|
||||
map('n', '<c-n>', ":Neotree filesystem reveal right toggle<CR>", opts)
|
||||
@ -17,6 +16,14 @@
|
||||
map('v', '<Tab>', '>gv', opts)
|
||||
map('v', '<S-Tab>', '<gv', opts)
|
||||
|
||||
vim.api.nvim_set_hl(0, 'Normal', { bg = 'none' })
|
||||
vim.api.nvim_set_hl(0, 'NormalFloat', { bg = 'none' })
|
||||
vim.api.nvim_set_hl(0, 'FloatBorder', { bg = 'none' })
|
||||
vim.api.nvim_set_hl(0, 'Pmenu', { bg = 'none' })
|
||||
|
||||
vim.cmd("highlight Pmenu guibg=NONE")
|
||||
|
||||
vim.opt.termguicolors = false
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.softtabstop = 2
|
||||
@ -29,7 +36,15 @@
|
||||
virtual_text = false,
|
||||
virtual_lines = false,
|
||||
})
|
||||
|
||||
vim.api.nvim_create_autocmd("VimEnter", {
|
||||
callback = function()
|
||||
vim.cmd("TransparentEnable")
|
||||
end,
|
||||
})
|
||||
|
||||
vim.cmd [[
|
||||
hi VertSplit guibg=NONE guifg=#000000
|
||||
cnoreabbrev W! w!
|
||||
cnoreabbrev Q! q!
|
||||
cnoreabbrev Qall! qall!
|
||||
@ -41,7 +56,6 @@
|
||||
cnoreabbrev Q q
|
||||
cnoreabbrev Qall qall
|
||||
]]
|
||||
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
24
modules/nix/sway/alacritty.nix
Normal file
24
modules/nix/sway/alacritty.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
window = {
|
||||
opacity = 0.8;
|
||||
blur = true;
|
||||
};
|
||||
colors = {
|
||||
primary = {
|
||||
background = "#000000";
|
||||
foreground = "#FFFFFF";
|
||||
};
|
||||
};
|
||||
font = {
|
||||
normal = {
|
||||
family = "FantasqueSansMNerdFont";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
13
modules/nix/sway/default.nix
Normal file
13
modules/nix/sway/default.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./sway.nix
|
||||
./alacritty.nix
|
||||
];
|
||||
|
||||
home = {
|
||||
file = {
|
||||
".config/rofi/rofi.rasi".source = ./raw/rofi.rasi;
|
||||
};
|
||||
};
|
||||
}
|
1
modules/nix/sway/raw/rofi.rasi
Normal file
1
modules/nix/sway/raw/rofi.rasi
Normal file
@ -0,0 +1 @@
|
||||
|
120
modules/nix/sway/sway.nix
Normal file
120
modules/nix/sway/sway.nix
Normal file
@ -0,0 +1,120 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
xwayland = true;
|
||||
package = pkgs.swayfx-unwrapped;
|
||||
wrapperFeatures.gtk = true;
|
||||
checkConfig = false;
|
||||
extraSessionCommands = ''
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
export QT_QPA_PLATFORM=wayland
|
||||
export XDG_CURRENT_DESKTOP=sway
|
||||
'';
|
||||
|
||||
config = rec {
|
||||
modifier = "Mod4";
|
||||
terminal = "alacritty";
|
||||
menu = "${pkgs.rofi}/bin/rofi -show drun -c ~/.config/rofi/rofi.rasi";
|
||||
bars = [
|
||||
{
|
||||
command = "wayff";
|
||||
}
|
||||
];
|
||||
startup = [
|
||||
{ command = "${pkgs.swaybg}/bin/swaybg -i $HOME/.wp/fuji.png"; }
|
||||
];
|
||||
gaps = {
|
||||
outer = 5;
|
||||
inner = 10;
|
||||
};
|
||||
|
||||
window = {
|
||||
border = 0;
|
||||
};
|
||||
|
||||
keybindings = {
|
||||
# IMPORTANT STUFF #
|
||||
"${modifier}+Return" = "exec ${terminal}";
|
||||
"${modifier}+space" = "exec ${menu}";
|
||||
"${modifier}+Q" = "kill";
|
||||
"${modifier}+Shift+R" = "reload";
|
||||
"${modifier}+Shift+S" = "grim -g '$(slurp)'";
|
||||
# WINDOW STUFF #
|
||||
"${modifier}+Shift+space" = "floating toggle";
|
||||
"${modifier}+Shift+F" = "fullscreen toggle";
|
||||
"${modifier}+Left" = "focus left";
|
||||
"${modifier}+Down" = "focus down";
|
||||
"${modifier}+Up" = "focus up";
|
||||
"${modifier}+Right" = "focus right";
|
||||
|
||||
"${modifier}+Ctrl+Right" = "resize shrink width 3 px or 3 ppt";
|
||||
"${modifier}+Ctrl+Down" = "resize grow height 3 px or 3 ppt";
|
||||
"${modifier}+Ctrl+Up" = "resize shrink height 3 px or 3 ppt";
|
||||
"${modifier}+Ctrl+Left" = "resize grow width 3 px or 3 ppt";
|
||||
|
||||
"${modifier}+Shift+Left" = "move left";
|
||||
"${modifier}+Shift+Down" = "move down";
|
||||
"${modifier}+Shift+Up" = "move up";
|
||||
"${modifier}+Shift+Right" = "move right";
|
||||
|
||||
# WORKSPACES #
|
||||
"${modifier}+1" = "workspace number 1";
|
||||
"${modifier}+2" = "workspace number 2";
|
||||
"${modifier}+3" = "workspace number 3";
|
||||
"${modifier}+4" = "workspace number 4";
|
||||
"${modifier}+5" = "workspace number 5";
|
||||
"${modifier}+6" = "workspace number 6";
|
||||
"${modifier}+7" = "workspace number 7";
|
||||
"${modifier}+8" = "workspace number 8";
|
||||
"${modifier}+9" = "workspace number 9";
|
||||
|
||||
# MOVE WINDOW TO OTHER WS #
|
||||
"${modifier}+Shift+1" = "move container to workspace number 1";
|
||||
"${modifier}+Shift+2" = "move container to workspace number 2";
|
||||
"${modifier}+Shift+3" = "move container to workspace number 3";
|
||||
"${modifier}+Shift+4" = "move container to workspace number 4";
|
||||
"${modifier}+Shift+5" = "move container to workspace number 5";
|
||||
"${modifier}+Shift+6" = "move container to workspace number 6";
|
||||
"${modifier}+Shift+7" = "move container to workspace number 7";
|
||||
"${modifier}+Shift+8" = "move container to workspace number 8";
|
||||
"${modifier}+Shift+9" = "move container to workspace number 9";
|
||||
|
||||
# Audio
|
||||
"XF86AudioRaiseVolume" = "exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 10%+";
|
||||
"XF86AudioLowerVolume" = "exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 10%-";
|
||||
"XF86AudioMute" = "exec set-volume toggle-mute";
|
||||
"XF86AudioStop" = "exec ${pkgs.playerctl}/bin/playerctl stop";
|
||||
"XF86AudioPrev" = "exec ${pkgs.playerctl}/bin/playerctl previous";
|
||||
"XF86AudioNext" = "exec ${pkgs.playerctl}/bin/playerctl next";
|
||||
"XF86AudioPlay" = "exec ${pkgs.playerctl}/bin/playerctl play-pause";
|
||||
|
||||
"XF86MonBrightnessDown" = "exec brightnessctl set 15%-";
|
||||
"XF86MonBrightnessUp" = "exec brightnessctl set +15%";
|
||||
};
|
||||
};
|
||||
|
||||
extraConfig = ''
|
||||
shadows enable
|
||||
corner_radius 12
|
||||
blur_radius 7
|
||||
blur_passes 4
|
||||
default_dim_inactive 0.4
|
||||
for_window [app_id="Alacritty"] blur enable
|
||||
for_window [app_id="alacritty"] blur enable
|
||||
|
||||
for_window [app_id="Firefox"] blur enable
|
||||
for_window [app_id="firefox"] blur enable
|
||||
|
||||
for_window [app_id="Discord"] blur enable
|
||||
for_window [app_id="discord"] blur enable
|
||||
|
||||
for_window [app_id="code"] blur enable
|
||||
|
||||
for_window [app_id="rofi"] blur enable
|
||||
default_border pixel 0px
|
||||
default_floating_border none
|
||||
titlebar_border_thickness 0
|
||||
'';
|
||||
};
|
||||
}
|
BIN
modules/raw/wp/fuji.png
Normal file
BIN
modules/raw/wp/fuji.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.0 MiB |
Reference in New Issue
Block a user