chore: work on modularization of config

This commit is contained in:
DashieTM 2024-04-17 13:00:14 +02:00
parent ab897f750d
commit 850454a6c6
16 changed files with 300 additions and 94 deletions

View file

@ -148,7 +148,7 @@
};
input = {
kb_layout = "us_int";
kb_layout = "dashie";
repeat_delay = 200;
force_no_accel = true;
touchpad = {
@ -169,6 +169,10 @@
enable_hyprcursor = false;
};
gestures = {
workspace_swipe = true;
};
env = [
"GTK_CSD,0"
"TERM,\"kitty /bin/fish\""
@ -190,37 +194,6 @@
"GTK_USE_PORTAL, 1"
];
monitor = [
# default
"DP-2,2560x1440@165,0x0,1"
"DP-1,3440x1440@180,2560x0,1"
"HDMI-A-1,1920x1200@60,6000x0,1"
"HDMI-A-1,transform,1"
# all others
",highrr,auto,1"
];
workspace = [
# workspaces
# monitor middle
"2,monitor:DP-1, default:true"
"4,monitor:DP-1"
"6,monitor:DP-1"
"8,monitor:DP-1"
"9,monitor:DP-1"
"10,monitor:DP-1"
# monitor left
"1,monitor:DP-2, default:true"
"5,monitor:DP-2"
"7,monitor:DP-2"
# monitor right
"3,monitor:HDMI-A-1, default:true"
];
layerrule = [
# layer rules
# mainly to disable animations within slurp and grim

View file

@ -1,17 +1,18 @@
{
xdg.configFile."hypr/hyprpaper.conf" = {
text =
''
#load
preload = /home/dashie/Pictures/backgrounds/shinobu_2k.jpg
preload = /home/dashie/Pictures/backgrounds/shino_wide.png
preload = /home/dashie/Pictures/backgrounds/shinobu_1200.jpg
#set
wallpaper = DP-2,/home/dashie/Pictures/backgrounds/shinobu_2k.jpg
wallpaper = DP-1,/home/dashie/Pictures/backgrounds/shino_wide.png
wallpaper = HDMI-A-1,/home/dashie/Pictures/backgrounds/shinobu_1200.jpg
splash = true
'';
};
}
#{
# xdg.configFile."hypr/hyprpaper.conf" = {
# text =
# ''
# #load
# preload = /home/dashie/Pictures/backgrounds/shinobu_2k.jpg
# preload = /home/dashie/Pictures/backgrounds/shino_wide.png
# preload = /home/dashie/Pictures/backgrounds/shinobu_1200.jpg
#
# #set
# wallpaper = DP-2,/home/dashie/Pictures/backgrounds/shinobu_2k.jpg
# wallpaper = DP-1,/home/dashie/Pictures/backgrounds/shino_wide.png
# wallpaper = HDMI-A-1,/home/dashie/Pictures/backgrounds/shinobu_1200.jpg
# splash = true
# '';
# };
#}
{}

View file

@ -1,5 +1,7 @@
{
programs.ironbar = {
{config, ...}:{
programs.ironbar =
{
enable = true;
style = ''
@import url("/home/dashie/.config/gtk-3.0/gtk.css");
@ -139,7 +141,7 @@
#"another_feature"
];
config = {
monitors.DP-1 = {
monitors."${config.programs.ironbar.monitor}" = {
end = [
{
type = "sys_info";