more dotfiles config

This commit is contained in:
chloe 2025-03-22 18:53:16 +01:00
parent 0771ad93ce
commit dcc640bd56
8 changed files with 160 additions and 63 deletions

View file

@ -21,7 +21,7 @@ set $term footclient
# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
set $menu walker | xargs swaymsg exec --
set $menu walker --modules applications,ssh,calculator | xargs swaymsg exec --
# screenshot folder
set $screenshot_folder ~/Images/Captures\ d\'écrans/
@ -213,6 +213,7 @@ mode "resize" {
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
#
@ -231,9 +232,11 @@ include /etc/sway/config.d/*
input type:keyboard xkb_numlock enabled
# floating bitwarden
for_window [app_id="^firefox$" title="^Extension: \(Bitwarden - Free Password Manager\) - Bitwarden — Mozilla Firefox$"] floating enable
for_window [app_id="^firefox$" title="^Extension: \(Bitwarden - Free Password Manager\) - Bitwarden — Mozilla Firefox"] floating enable
for_window [app_id="^firefox$" title="^Incrustation vidéo$"] floating enable
assign [class="firefox"] -> 2
# notification daemon
exec swaync
bindsym $mod+Shift+n exec swaync-client -t -sw
bindsym $mod+Shift+n exec swaync-client -t -sw

View file

@ -16,7 +16,8 @@
"wireplumber": {
"format": "{volume}% ",
"format-muted": "",
"max-volume": 120,
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINC@ toggle",
"max-volume": 100,
"scroll-step": 0.2
},
"privacy": {
@ -29,11 +30,6 @@
"tooltip": true,
"tooltip-icon-size": 24
},
{
"type": "audio-out",
"tooltip": true,
"tooltip-icon-size": 24
},
{
"type": "audio-in",
"tooltip": true,
@ -81,7 +77,5 @@
"on-click": "swaync-client -t -sw",
"on-click-right": "swaync-client -d -sw",
"escape": true
},
"custom/launcher": {},
"custom/controlpanel": {}
}
}

View file

@ -17,6 +17,7 @@
window#waybar {
background-color: #fff;
padding-right: 12px;
/*border: solid 2px @primary;*/
min-height: 14px; /* set waybar's height to 14px */
font-size: 14px; /* set only the font size to be bigger, which in turn will adjust the height of other elements */
@ -46,3 +47,13 @@ window#waybar {
#workspaces {
}
#privacy-item.screenshare {
color: #000;
background-color: #ff5733;
}
#privacy-item.audio-in {
color: #000;
background-color: #ffae42;
}

View file

@ -45,7 +45,6 @@
btop
bitwarden-cli
weechat
eclipses.eclipse-java # school wants us to use it...
cava
hyfetch
kittysay
@ -190,6 +189,19 @@
longitude = 8.4;
};
xdg = {
userDirs = {
enable = true;
createDirectories = true;
desktop = "${config.home.homeDirectory}/Bureau";
download = "${config.home.homeDirectory}/Téléchargements";
music = "${config.home.homeDirectory}/Musique";
pictures = "${config.home.homeDirectory}/Images";
extraConfig = {
XDG_SCREENSHOTS_DIR = "${config.home.homeDirectory}/Images/Captures\ d\'écrans";
};
};
};
/*
xdg.mimeApps = {
enable = true;
@ -200,9 +212,12 @@
"x-scheme-handler/about" = "firefox.desktop";
"x-scheme-handler/unknown" = "firefox.desktop";
"application/pdf" = "org.pwmt.zathura-pdf-mupdf.desktop";
"image/jpeg" = "feh.desktop";
"image/png" = "feh.desktop";
};
};
*/
programs.foot = {
enable = true;
server.enable = true;