Fix configs of hyprland and niri and waybar

This commit is contained in:
Antoine Phan
2025-11-18 13:49:38 -05:00
parent 033327ae60
commit 2fd5124f97
8 changed files with 110 additions and 30 deletions

View File

@@ -120,7 +120,7 @@ window:
font: font:
normal: normal:
# Font family # Font family
family: FiraCode Nerd Font family: Fira Code
# The `style` can be specified to pick a specific face. # The `style` can be specified to pick a specific face.
style: Medium style: Medium

View File

@@ -155,3 +155,5 @@ export XMODIFIERS=@im=ibus
alias mcgillvpn='/opt/cisco/anyconnect/bin/vpnui &' alias mcgillvpn='/opt/cisco/anyconnect/bin/vpnui &'
alias mcgillvpn='/opt/cisco/anyconnect/bin/vpnui &' alias mcgillvpn='/opt/cisco/anyconnect/bin/vpnui &'
. "$HOME/.local/bin/env"

View File

@@ -100,12 +100,12 @@ animations {
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
# bezier = myBezier, 0.05, 0.9, 0.1, 1.05 # bezier = myBezier, 0.05, 0.9, 0.1, 1.05
bezier = myBezier, .72,.39,.25,.92 # bezier = myBezier, .72,.39,.25,.92
animation = windows, 1, 4, myBezier animation = windows, 1, 4, default
animation = windowsOut, 1, 4, default, popin 100% animation = windowsOut, 1, 4, default, popin 100%
# animation = windowsOut, 1, 3, myBezier animation = windowsOut, 1, 3, default
animation = border, 1, 3, myBezier animation = border, 1, 3, default
animation = borderangle, 1, 8, default animation = borderangle, 1, 8, default
animation = fade, 1, 7, default animation = fade, 1, 7, default
# animation = workspaces, 1, 6, default # animation = workspaces, 1, 6, default
@@ -123,10 +123,10 @@ master {
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
} }
gestures { # gestures {
# See https://wiki.hyprland.org/Configuring/Variables/ for more # See https://wiki.hyprland.org/Configuring/Variables/ for more
workspace_swipe = yes # workspace_swipe = yes
} #}
misc { misc {
# See https://wiki.hyprland.org/Configuring/Variables/ for more # See https://wiki.hyprland.org/Configuring/Variables/ for more

View File

@@ -37,13 +37,34 @@ output "GIGA-BYTE TECHNOLOGY CO., LTD. G27F 2 23030B002769" {
mode "1920x1080@170" mode "1920x1080@170"
scale 1 scale 1
// Second monitor to the right // Second monitor to the right
position x=1920 y=0 position x=-1920 y=0
} }
output "Dell Inc. DELL U2412M YMYH14450KRL" { output "Dell Inc. DELL U2412M YMYH14450KRL" {
position x=0 y=-1200 position x=0 y=-1200
} }
// At work monitor
output "Dell Inc. DELL E2418HN GXY2M8BJ1T9B" {
position x=0 y=-1080
}
// Trottier 5th floor monitors
output "Dell Inc. DELL P2422HE 4MMLLQ3" {
position x=0 y=-1080 // on top
}
// 1B45, mirror
output "Crestron Electronics, Inc. Crestron Unknown" {
position x=0 y=0
}
// The Factory
output "Microstep MSI G274QPF CC2H633602149" {
mode "2560x1440@60.000"
position x=0 y=-1440
}
output "HDMI-A-1" { output "HDMI-A-1" {
mode "1920x1080@60" mode "1920x1080@60"
position x=0 y=0 position x=0 y=0
@@ -128,11 +149,13 @@ layout {
// Mod+Shift+R // Mod+Shift+R
preset-window-heights { preset-window-heights {
proportion 0.5 proportion 0.5
proportion 1.0
} }
// The windows themselves will decide their initial width. // The windows themselves will decide their initial width.
default-column-width { default-column-width {
proportion 0.6 // proportion 0.5
} }
focus-ring { focus-ring {
@@ -243,7 +266,7 @@ animations {
// Slow down all animations by this factor. Values below 1 speed them up instead. // Slow down all animations by this factor. Values below 1 speed them up instead.
slowdown 2.0 slowdown 2.0
window-open { window-open {
duration-ms 150 duration-ms 240
curve "ease-out-cubic" curve "ease-out-cubic"
} }
@@ -544,3 +567,8 @@ binds {
// moving the mouse or pressing any other key. // moving the mouse or pressing any other key.
// Mod+Shift+L { power-off-monitors; } // Mod+Shift+L { power-off-monitors; }
} }
// Make the backdrop light.
overview {
backdrop-color "#232337"
}

View File

@@ -87,8 +87,8 @@
"numlock": "NL {icon}" "numlock": "NL {icon}"
}, },
"format-icons": { "format-icons": {
"locked": "", "locked": "🔳",
"unlocked": "" "unlocked": ""
} }
}, },
"pulseaudio": { "pulseaudio": {
@@ -116,17 +116,28 @@
"memory": { "memory": {
"interval": 5, "interval": 5,
"format": "Mem {:2}%" "format": "{used:0.2f}/{total:0.2f} GB"
}, },
"cpu": { "cpu": {
"interval": 5, "interval": 1,
"format": "CPU {usage:2}%" "format": "{icon0}{icon1}{icon2}{icon3}{icon4}{icon5}{icon6}{icon7}",
}, "format-icons": [
"<span color='#d1b3ff'>▁</span>", // pastel purple (low)
"<span color='#b5c7ff'>▂</span>", // pastel blue
"<span color='#a8e6ff'>▃</span>", // pastel cyan
"<span color='#a8ffd1'>▄</span>", // pastel green
"<span color='#fff5a5'>▅</span>", // pastel yellow
"<span color='#ffd1a5'>▆</span>", // pastel orange
"<span color='#ffb3b3'>▇</span>", // light pastel red
"<span color='#ff9999'>█</span>" // deeper pastel red (high)
]
},
"battery": { "battery": {
"states": { "states": {
"good": 80, "good": 80,
"warning": 42, "warning": 42,
"critical": 20 "critical": 24
}, },
"format": "{icon} {capacity}%", "format": "{icon} {capacity}%",
"format-charging": " {icon} {capacity}%", "format-charging": " {icon} {capacity}%",

View File

@@ -1,10 +1,16 @@
window { window {
border: 0px solid #ca93f9; border: 0px solid #ca93f9;
font-family: FiraCode Nerd Font; font-family: 'Fira Code Retina';
font-size: 16px; font-size: 16px;
border-radius: 12px; border-radius: 12px;
padding: 10px; padding: 10px;
background: linear-gradient(#e66465, #9198e5); background: linear-gradient(#346af5, #31efc5);
}
#outer-box {
margin: 5px;
border-radius: 12px;
background-color: #282a36;
} }
#input { #input {
@@ -14,6 +20,10 @@ window {
background-color: #44475a; background-color: #44475a;
} }
#scroll {
}
#inner-box { #inner-box {
margin: 5px; margin: 5px;
border: none; border: none;
@@ -21,10 +31,8 @@ window {
background-color: #282a36; background-color: #282a36;
} }
#outer-box { #img {
margin: 5px;
border-radius: 12px;
background-color: #282a36;
} }
#text { #text {
@@ -33,10 +41,18 @@ window {
color: #f8f8f2; color: #f8f8f2;
} }
#unselected {
}
#entry { #entry {
border-radius: 12px; border-radius: 12px;
} }
#entry:selected { #entry:selected {
background-color: #ab3452; background-color: #3366cc;
}
#expander-box {
} }

View File

@@ -35,10 +35,10 @@ fi
# unset f # unset f
#fi #fi
exec numlockx & # exec numlockx &
exec ibus-daemon -rxR & # exec ibus-daemon -rxR &
export GTK_THEME=adw-gtk3-dark:dark # export GTK_THEME=adw-gtk3-dark:dark
exec i3 -c /home/antoine/.config/i3/config exec i3 -c /home/antoine/.config/i3/config
exec autorandr --change # exec autorandr --change
exec autotiling & exec autotiling &

View File

@@ -165,3 +165,26 @@ alias brb="bun run build"
alias brp="bun run preview" alias brp="bun run preview"
alias pecha="sleep 20 && echo \"KUCHA\"" alias pecha="sleep 20 && echo \"KUCHA\""
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/home/antoine/Downloads/google-cloud-sdk/path.zsh.inc' ]; then . '/home/antoine/Downloads/google-cloud-sdk/path.zsh.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '/home/antoine/Downloads/google-cloud-sdk/completion.zsh.inc' ]; then . '/home/antoine/Downloads/google-cloud-sdk/completion.zsh.inc'; fi
# CD Player
alias playcd='cdda2wav -D /dev/sr0 -t 1+ -B - | pw-play --rate 44100 --quality 15 -'
# Load Angular CLI autocompletion.
# source <(ng completion script)
. "$HOME/.local/bin/env"
alias dcb="docker compose build"
alias dcu="docker compose up"
alias dcud="docker compose up -d"
alias dcd="docker compose down"
alias dcuw="docker compose up --watch"
alias intellij="exec $HOME/Applications/idea-IU-252.26830.84/bin/idea &"