Update hyprland QOL and niri, waybar for niri
This commit is contained in:
16
README.md
16
README.md
@@ -1,5 +1,4 @@
|
|||||||
# dotfiles
|
# dotfiles
|
||||||
|
|
||||||
My configuration and styling for things I use on my Linux PC, while embracing the power of GNU Stow and symlink!
|
My configuration and styling for things I use on my Linux PC, while embracing the power of GNU Stow and symlink!
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -35,3 +34,18 @@ pacman -Qs | grep "local/" | awk '{print $1}' - | awk -F '/' '{print $2}' > allP
|
|||||||
```sh
|
```sh
|
||||||
cat allPackages.txt | yay -S - --needed
|
cat allPackages.txt | yay -S - --needed
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Actively using programs
|
||||||
|
- Shell: `zsh` with `oh-my-zsh`
|
||||||
|
- Terminal: `alacritty`
|
||||||
|
- WM: `hyprland` and (slowly configuring) `niri`
|
||||||
|
- Wallpaper: `hyprpaper`
|
||||||
|
- Notification: `mako`
|
||||||
|
- Lock: `swaylock`
|
||||||
|
- Bar: `waybar`
|
||||||
|
- Menu: `wofi` and `wofi-emoji`
|
||||||
|
- Audio: `wireplumber`
|
||||||
|
- Tools:
|
||||||
|
- `tmux`
|
||||||
|
- `neovim`
|
||||||
|
|
||||||
|
|||||||
@@ -170,6 +170,12 @@ bind = $mainMod, J, togglesplit, # dwindle
|
|||||||
bind = $mainMod, F, fullscreen
|
bind = $mainMod, F, fullscreen
|
||||||
bind = $mainMod_SHIFT, F, fullscreen, 1
|
bind = $mainMod_SHIFT, F, fullscreen, 1
|
||||||
|
|
||||||
|
# Resize windows, inspired by i3 config
|
||||||
|
bind = $mainMod CTRL, right, resizeactive, 50 0
|
||||||
|
bind = $mainMod CTRL, left, resizeactive, -50 0
|
||||||
|
bind = $mainMod CTRL, up, resizeactive, 0 -50
|
||||||
|
bind = $mainMod CTRL, down, resizeactive, 0 50
|
||||||
|
|
||||||
# Move focus with mainMod + arrow keys
|
# Move focus with mainMod + arrow keys
|
||||||
bind = $mainMod, left, movefocus, l
|
bind = $mainMod, left, movefocus, l
|
||||||
bind = $mainMod, right, movefocus, r
|
bind = $mainMod, right, movefocus, r
|
||||||
@@ -221,16 +227,12 @@ bind = $mainMod, mouse_up , workspace, m+1
|
|||||||
bind = $mainMod SHIFT, mouse_down, workspace, r-1
|
bind = $mainMod SHIFT, mouse_down, workspace, r-1
|
||||||
bind = $mainMod SHIFT, mouse_up , workspace, r+1
|
bind = $mainMod SHIFT, mouse_up , workspace, r+1
|
||||||
|
|
||||||
# Create new workspace on screen. Go to previous workspace on screen
|
|
||||||
bind = $mainMod ALT, N, workspace, r+1
|
|
||||||
bind = $mainMod ALT, P, workspace, r-1
|
|
||||||
|
|
||||||
bind = $mainMod SHIFT, N, movetoworkspace, r+1
|
bind = $mainMod SHIFT, N, movetoworkspace, r+1
|
||||||
bind = $mainMod SHIFT, P, movetoworkspace, r-1
|
bind = $mainMod SHIFT, P, movetoworkspace, r-1
|
||||||
|
|
||||||
# Cycle through workspaces on the montior
|
# Cycle through workspaces on the montior, relatively
|
||||||
bind = $mainMod, N, workspace, m+1
|
bind = $mainMod, N, workspace, r+1
|
||||||
bind = $mainMod, P, workspace, m-1
|
bind = $mainMod, P, workspace, r-1
|
||||||
|
|
||||||
# Swap windows from different monitors
|
# Swap windows from different monitors
|
||||||
bind = $mainMod, S, swapactiveworkspaces, 0 1
|
bind = $mainMod, S, swapactiveworkspaces, 0 1
|
||||||
|
|||||||
@@ -29,6 +29,14 @@ output "eDP-1" {
|
|||||||
// Use logical size to set position
|
// Use logical size to set position
|
||||||
}
|
}
|
||||||
|
|
||||||
|
output "HDMI-A-1" {
|
||||||
|
mode "1920x1080@170"
|
||||||
|
scale 1
|
||||||
|
// Second monitor above
|
||||||
|
position x=0 y=-1080
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Input device configuration.
|
// Input device configuration.
|
||||||
// https://github.com/YaLTeR/niri/wiki/Configuration:-Input
|
// https://github.com/YaLTeR/niri/wiki/Configuration:-Input
|
||||||
@@ -82,7 +90,7 @@ input {
|
|||||||
|
|
||||||
// Focus windows and outputs automatically when moving the mouse into them.
|
// Focus windows and outputs automatically when moving the mouse into them.
|
||||||
// Setting max-scroll-amount="0%" makes it work only on windows already fully on screen.
|
// Setting max-scroll-amount="0%" makes it work only on windows already fully on screen.
|
||||||
// focus-follows-mouse max-scroll-amount="0%"
|
focus-follows-mouse max-scroll-amount="50%"
|
||||||
}
|
}
|
||||||
|
|
||||||
// ==== LAYOUT ====
|
// ==== LAYOUT ====
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
"modules-left": [
|
"modules-left": [
|
||||||
"hyprland/workspaces",
|
"hyprland/workspaces",
|
||||||
"hyprland/window",
|
"hyprland/window",
|
||||||
"niri/workspaces"
|
"niri/workspaces",
|
||||||
|
"niri/window"
|
||||||
],
|
],
|
||||||
"modules-center": [
|
"modules-center": [
|
||||||
"clock#1",
|
"clock#1",
|
||||||
@@ -41,11 +42,19 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"niri/workspaces": {
|
"niri/workspaces": {
|
||||||
"format": "{icon}",
|
"format": "{output} {index}",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"niri/window": {
|
||||||
|
"format": "{}",
|
||||||
|
"icon": true,
|
||||||
|
"separate-outputs": true,
|
||||||
|
"all-outputs": true,
|
||||||
|
"offscreen-css": true
|
||||||
|
},
|
||||||
|
|
||||||
"clock#1": {
|
"clock#1": {
|
||||||
"format": "{:%A}",
|
"format": "{:%A}",
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
|
|||||||
@@ -28,7 +28,8 @@ window#waybar {
|
|||||||
#window {
|
#window {
|
||||||
padding: 0 12px;
|
padding: 0 12px;
|
||||||
margin: 0 2px;
|
margin: 0 2px;
|
||||||
background: rgba(12, 12, 12, 0.3);
|
color: white;
|
||||||
|
background: rgba(12, 12, 12, 0.5);
|
||||||
text-shadow: 2px 4px rgba(20, 20, 20, 0.2);
|
text-shadow: 2px 4px rgba(20, 20, 20, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user