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:
normal:
# Font family
family: FiraCode Nerd Font
family: Fira Code
# The `style` can be specified to pick a specific face.
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 &'
. "$HOME/.local/bin/env"

View File

@@ -100,12 +100,12 @@ animations {
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
# 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, 3, myBezier
animation = border, 1, 3, myBezier
animation = windowsOut, 1, 3, default
animation = border, 1, 3, default
animation = borderangle, 1, 8, default
animation = fade, 1, 7, default
# animation = workspaces, 1, 6, default
@@ -123,10 +123,10 @@ master {
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
}
gestures {
# gestures {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
workspace_swipe = yes
}
# workspace_swipe = yes
#}
misc {
# 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"
scale 1
// Second monitor to the right
position x=1920 y=0
position x=-1920 y=0
}
output "Dell Inc. DELL U2412M YMYH14450KRL" {
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" {
mode "1920x1080@60"
position x=0 y=0
@@ -128,11 +149,13 @@ layout {
// Mod+Shift+R
preset-window-heights {
proportion 0.5
proportion 1.0
}
// The windows themselves will decide their initial width.
default-column-width {
proportion 0.6
// proportion 0.5
}
focus-ring {
@@ -243,7 +266,7 @@ animations {
// Slow down all animations by this factor. Values below 1 speed them up instead.
slowdown 2.0
window-open {
duration-ms 150
duration-ms 240
curve "ease-out-cubic"
}
@@ -544,3 +567,8 @@ binds {
// moving the mouse or pressing any other key.
// Mod+Shift+L { power-off-monitors; }
}
// Make the backdrop light.
overview {
backdrop-color "#232337"
}

View File

@@ -87,8 +87,8 @@
"numlock": "NL {icon}"
},
"format-icons": {
"locked": "",
"unlocked": ""
"locked": "🔳",
"unlocked": ""
}
},
"pulseaudio": {
@@ -116,17 +116,28 @@
"memory": {
"interval": 5,
"format": "Mem {:2}%"
"format": "{used:0.2f}/{total:0.2f} GB"
},
"cpu": {
"interval": 5,
"format": "CPU {usage:2}%"
},
"interval": 1,
"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": {
"states": {
"good": 80,
"warning": 42,
"critical": 20
"critical": 24
},
"format": "{icon} {capacity}%",
"format-charging": " {icon} {capacity}%",

View File

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

View File

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

View File

@@ -165,3 +165,26 @@ alias brb="bun run build"
alias brp="bun run preview"
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 &"