Update hyprland and README
This commit is contained in:
parent
c9c0a376db
commit
dafc4508fd
3 changed files with 75 additions and 132 deletions
11
README.md
11
README.md
|
@ -9,7 +9,7 @@ Repo for nix configuration files
|
||||||
* [ ] mako config / theming
|
* [ ] mako config / theming
|
||||||
* [ ] waybar config / theming
|
* [ ] waybar config / theming
|
||||||
* [ ] hyprland config / theming
|
* [ ] hyprland config / theming
|
||||||
* Try `libinput-gestores` for gesture control of Hyprland - [Link](https://github.com/bulletmark/libinput-gestures)
|
* Try `libinput-gestures` for gesture control of Hyprland - [Link](https://github.com/bulletmark/libinput-gestures)
|
||||||
* [x] powerline config / theming
|
* [x] powerline config / theming
|
||||||
* [x] neofetch config / theming
|
* [x] neofetch config / theming
|
||||||
* [x] kitty config / theming
|
* [x] kitty config / theming
|
||||||
|
@ -27,7 +27,14 @@ Repo for nix configuration files
|
||||||
* Staying with powerline-go, just editing the config in `home-manager/bash.nix`
|
* Staying with powerline-go, just editing the config in `home-manager/bash.nix`
|
||||||
* [ ] Set up the fingerprint reader - [Link](https://www.makeuseof.com/set-up-fingerprint-scanner-with-pam-on-linux/)
|
* [ ] Set up the fingerprint reader - [Link](https://www.makeuseof.com/set-up-fingerprint-scanner-with-pam-on-linux/)
|
||||||
* [ ] sublime music config / theming / integration - [Link](https://docs.sublimemusic.app/)
|
* [ ] sublime music config / theming / integration - [Link](https://docs.sublimemusic.app/)
|
||||||
|
* [ ] hyprland
|
||||||
|
* [ ] Try hyprctl
|
||||||
|
* [ ] hyprwm plugins - [Link](https://github.com/hyprwm/hyprland-plugins/tree/main/hyprbars)
|
||||||
|
* [ ] hyprbars
|
||||||
|
* [ ] libinput-gestores?
|
||||||
|
* [ ] configure programs.light - keybinds in hyprland config
|
||||||
|
* [ ] authentication agent (like polkit-kde-agent)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
# Information
|
# Information
|
||||||
|
|
|
@ -76,52 +76,20 @@
|
||||||
mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
|
mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
# Notofication daemon
|
libnotify # Notification libraries
|
||||||
libnotify
|
mako # Notification daemon
|
||||||
mako
|
swww # Wallpaper daemon
|
||||||
# for x11
|
kitty # Terminal emulator
|
||||||
# dunst
|
rofi-wayland # App Launcher
|
||||||
|
networkmanagerapplet # NetworkManager control applet
|
||||||
# Wallpaper daemons
|
grim # Screenshots
|
||||||
# hyprpaper
|
slurp # Screenshots
|
||||||
# swaybg
|
wl-clipboard # Clipboard
|
||||||
# wpaperd
|
font-awesome # Fonts
|
||||||
# mpvpaper
|
swaylock-fancy # Lock screen
|
||||||
swww
|
gruvbox-gtk-theme # Gruvbox Theme
|
||||||
|
papirus-icon-theme # Papirus Icons
|
||||||
# Terminal
|
libinput-gestures # Gesture Control
|
||||||
# hyprlands default terminal
|
|
||||||
kitty
|
|
||||||
# alacritty
|
|
||||||
# wezterm
|
|
||||||
|
|
||||||
# App launchers
|
|
||||||
rofi-wayland
|
|
||||||
# gtk version:
|
|
||||||
# wofi
|
|
||||||
|
|
||||||
# suggestions
|
|
||||||
# bemenu
|
|
||||||
# fuzzel
|
|
||||||
# tofi
|
|
||||||
|
|
||||||
# Other apps:
|
|
||||||
networkmanagerapplet
|
|
||||||
|
|
||||||
# Screenshot utility:
|
|
||||||
grim
|
|
||||||
slurp
|
|
||||||
wl-clipboard
|
|
||||||
|
|
||||||
# fonts
|
|
||||||
font-awesome
|
|
||||||
|
|
||||||
# lock screen
|
|
||||||
swaylock-fancy
|
|
||||||
|
|
||||||
# Icons for regreet
|
|
||||||
gruvbox-gtk-theme
|
|
||||||
papirus-icon-theme
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable sound with pipewire.
|
# Enable sound with pipewire.
|
||||||
|
|
|
@ -2,84 +2,70 @@
|
||||||
home.file = {
|
home.file = {
|
||||||
".config/hypr/hyprland.conf" = {
|
".config/hypr/hyprland.conf" = {
|
||||||
enable = true;
|
enable = true;
|
||||||
text = "
|
text = ''
|
||||||
# This is an example Hyprland config file.
|
# https://wiki.hyprland.org/Configuring/Variables/
|
||||||
#
|
# env = XCURSOR_SIZE,24
|
||||||
# Refer to the wiki for more information.
|
env = GDK_SCALE,1
|
||||||
|
env = XCURSOR_SIZE,48
|
||||||
|
|
||||||
#
|
# nVidia Speficic Settings:
|
||||||
# Please note not all available settings / options are set here.
|
# https://wiki.hyprland.org/Nvidia/
|
||||||
# For a full list, see the wiki
|
# env = LIBVA_DRIVER_NAME,nvidia
|
||||||
#
|
# env = XDG_SESSION_TYPE,wayland
|
||||||
|
# env = GBM_BACKEND,nvidia-drm
|
||||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
# env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||||
# monitor=,preferred,auto,auto
|
# env = WLR_NO_HARDWARE_CURSORS,1
|
||||||
|
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
|
||||||
|
|
||||||
# Execute your favorite apps at launch
|
|
||||||
# exec-once = waybar & hyprpaper & firefox
|
|
||||||
|
|
||||||
# Source a file (multi-file configs)
|
|
||||||
# source = ~/.config/hypr/myColors.conf
|
|
||||||
|
|
||||||
# Some default env vars.
|
|
||||||
env = XCURSOR_SIZE,24
|
|
||||||
|
|
||||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
|
||||||
input {
|
|
||||||
kb_layout = us
|
|
||||||
kb_variant =
|
|
||||||
kb_model =
|
|
||||||
kb_options =
|
|
||||||
kb_rules =
|
|
||||||
|
|
||||||
follow_mouse = 1
|
|
||||||
|
|
||||||
touchpad {
|
|
||||||
natural_scroll = true
|
|
||||||
}
|
|
||||||
|
|
||||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
|
||||||
}
|
|
||||||
|
|
||||||
general {
|
general {
|
||||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
|
||||||
|
|
||||||
gaps_in = 5
|
gaps_in = 5
|
||||||
gaps_out = 20
|
gaps_out = 20
|
||||||
border_size = 2
|
border_size = 3
|
||||||
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
# First six are color, last 2 are opacity?
|
||||||
col.inactive_border = rgba(595959aa)
|
col.active_border = rgba(d5c4a1bb) # Gruvbox fg2, opacity bb
|
||||||
|
col.inactive_border = rgba(504945dd) # Gruvbox bg2, opacity dd
|
||||||
|
resize_on_border = true
|
||||||
|
extend_border_grab_area = 15
|
||||||
layout = dwindle
|
layout = dwindle
|
||||||
}
|
}
|
||||||
|
input {
|
||||||
decoration {
|
kb_layout = us
|
||||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
follow_mouse = 1
|
||||||
|
touchpad {
|
||||||
rounding = 10
|
natural_scroll = true
|
||||||
|
disable_while_typing = true
|
||||||
blur {
|
tap-to-click = true
|
||||||
enabled = true
|
clickfinger_behavior = lrm
|
||||||
size = 3
|
drag_lock = true
|
||||||
passes = 1
|
|
||||||
}
|
}
|
||||||
|
sensitivity = 0
|
||||||
|
}
|
||||||
|
gestures {
|
||||||
|
# https://wiki.hyprland.org/0.24.1/Configuring/Keywords/#gestures
|
||||||
|
workspace_swipe = true
|
||||||
|
workspace_swipe_fingers = 4
|
||||||
|
workspace_swipe_numbered = false
|
||||||
|
}
|
||||||
|
misc {
|
||||||
|
disable_hyprland_logo = true
|
||||||
|
}
|
||||||
|
decoration {
|
||||||
|
rounding = 6
|
||||||
|
active_opacity = 0.8
|
||||||
|
inactive_opacity = 0.7
|
||||||
|
fullscreen_opacity = 0.95
|
||||||
|
blur = true
|
||||||
|
blur_size = 8
|
||||||
|
blur_passes = 3
|
||||||
drop_shadow = true
|
drop_shadow = true
|
||||||
shadow_range = 4
|
shadow_range = 4
|
||||||
shadow_render_power = 3
|
shadow_render_power = 3
|
||||||
col.shadow = rgba(1a1a1aee)
|
col.shadow = rgba(1a1a1aee)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
animations {
|
animations {
|
||||||
|
# https://wiki.hyprland.org/Configuring/Animations/
|
||||||
enabled = true
|
enabled = true
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
animation = windows, 1, 7, myBezier
|
animation = windows, 1, 7, myBezier
|
||||||
animation = windowsOut, 1, 7, default, popin 80%
|
animation = windowsOut, 1, 7, default, popin 80%
|
||||||
animation = border, 1, 10, default
|
animation = border, 1, 10, default
|
||||||
|
@ -87,7 +73,6 @@
|
||||||
animation = fade, 1, 7, default
|
animation = fade, 1, 7, default
|
||||||
animation = workspaces, 1, 6, default
|
animation = workspaces, 1, 6, default
|
||||||
}
|
}
|
||||||
|
|
||||||
dwindle {
|
dwindle {
|
||||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||||
pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||||
|
@ -99,24 +84,6 @@
|
||||||
new_is_master = true
|
new_is_master = true
|
||||||
}
|
}
|
||||||
|
|
||||||
gestures {
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
|
||||||
workspace_swipe = false
|
|
||||||
}
|
|
||||||
|
|
||||||
# Example per-device config
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
|
|
||||||
device:epic-mouse-v1 {
|
|
||||||
sensitivity = -0.5
|
|
||||||
}
|
|
||||||
|
|
||||||
# Example windowrule v1
|
|
||||||
# windowrule = float, ^(kitty)$
|
|
||||||
# Example windowrule v2
|
|
||||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
|
||||||
|
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||||
$mainMod = SUPER
|
$mainMod = SUPER
|
||||||
|
|
||||||
|
@ -167,7 +134,6 @@
|
||||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||||
bindm = $mainMod, mouse:272, movewindow
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
bindm = $mainMod, mouse:273, resizewindow
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
# Testing... Move without holding the mainMod button?
|
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
# Custom keybinds
|
# Custom keybinds
|
||||||
|
@ -178,12 +144,14 @@
|
||||||
# Take a screenshot with the Print key
|
# Take a screenshot with the Print key
|
||||||
bind =,Print,exec,grim
|
bind =,Print,exec,grim
|
||||||
# Move to the previous / next workspace with SUPER-LEFT and SUPER-RIGHT
|
# Move to the previous / next workspace with SUPER-LEFT and SUPER-RIGHT
|
||||||
bind = $mainMod, right workspace, e+1
|
bind = $mainMod, right, workspace, e+1
|
||||||
bind = $mainMod, left, workspace, e-1
|
bind = $mainMod, left, workspace, e-1
|
||||||
|
bind = $mainMod SHIFT, right, movetoworkspace, e+1
|
||||||
|
bind = $mainMod SHIFT, left, movetoworkspace, e-1
|
||||||
|
|
||||||
# Start the config:
|
# Start the config:
|
||||||
exec-once=bash ~/.config/hypr/start.sh
|
exec-once=bash ~/.config/hypr/start.sh
|
||||||
";
|
'';
|
||||||
};
|
};
|
||||||
# Set the custom launcher script
|
# Set the custom launcher script
|
||||||
".config/hypr/start.sh" = {
|
".config/hypr/start.sh" = {
|
||||||
|
|
Loading…
Reference in a new issue