mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 05:13:10 +01:00
config I can work with
This commit is contained in:
parent
c59157a753
commit
b8efb1ffed
|
@ -6,7 +6,7 @@
|
|||
imports =
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
./modules/autorandr
|
||||
#./modules/autorandr
|
||||
./modules/networks
|
||||
#./modules/lightdm
|
||||
#./modules/gdm
|
||||
|
@ -24,8 +24,9 @@
|
|||
time.timeZone = "Europe/Berlin";
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
console = {
|
||||
keyMap = "dvorak";
|
||||
font = "Lat2-Terminus16";
|
||||
useXkbConfig = true; # use xkbOptions in tty.
|
||||
#useXkbConfig = true; # use xkbOptions in tty.
|
||||
};
|
||||
|
||||
services.xserver = {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
TERM = "xterm-256color";
|
||||
};
|
||||
font = {
|
||||
size = 8;
|
||||
size = 10;
|
||||
};
|
||||
shell.program = "${pkgs.zsh}/bin/zsh";
|
||||
window.opacity = 0.7;
|
||||
|
|
|
@ -1,5 +1,21 @@
|
|||
{ config, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
wayland.windowManager.hyprland.enable = true;
|
||||
xdg.configFile."hypr/hyprland.conf".source = ./hyprland.conf;
|
||||
# TODO integrate this to nix-colors
|
||||
xdg.configFile."wofi".source = ./wofi-config;
|
||||
home.packages = with pkgs; [
|
||||
wofi
|
||||
#noto-fonts-emoji
|
||||
];
|
||||
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
#settings = {
|
||||
#mainBar = {
|
||||
#layer = "top";
|
||||
#position = "top";
|
||||
#};
|
||||
#};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,23 +1,10 @@
|
|||
|
||||
########################################################################################
|
||||
AUTOGENERATED HYPR CONFIG.
|
||||
PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
|
||||
OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
|
||||
########################################################################################
|
||||
|
||||
#
|
||||
# Please note not all available settings / options are set here.
|
||||
# For a full list, see the wiki
|
||||
#
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
monitor=,preferred,auto,auto
|
||||
|
||||
monitor=eDP-1, 1920x1080, 0x0, 1
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
|
||||
# Execute your favorite apps at launch
|
||||
# exec-once = waybar & hyprpaper & firefox
|
||||
exec-once = waybar
|
||||
|
||||
# Source a file (multi-file configs)
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
|
@ -96,12 +83,6 @@ gestures {
|
|||
workspace_swipe = off
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
|
||||
device:epic mouse V1 {
|
||||
sensitivity = -0.5
|
||||
}
|
||||
|
||||
# Example windowrule v1
|
||||
# windowrule = float, ^(kitty)$
|
||||
# Example windowrule v2
|
||||
|
@ -113,19 +94,19 @@ device:epic mouse V1 {
|
|||
$mainMod = SUPER
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod, O, exec, alacritty
|
||||
bind = $mainMod, C, killactive,
|
||||
bind = $mainMod, Return, exec, alacritty
|
||||
bind = $mainMod SHIFT, Q, killactive,
|
||||
bind = $mainMod, M, exit,
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, R, exec, wofi --show drun
|
||||
bind = $mainMod, F, togglefloating,
|
||||
bind = ALT, Space, exec, wofi --show drun
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, J, togglesplit, # dwindle
|
||||
bind = $mainMod, S, togglesplit, # dwindle
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
bind = $mainMod, H, movefocus, l
|
||||
bind = $mainMod, L, movefocus, r
|
||||
bind = $mainMod, K, movefocus, u
|
||||
bind = $mainMod, J, movefocus, d
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
|
|
2
users/rouven/modules/hyprland/wofi-config/config
Normal file
2
users/rouven/modules/hyprland/wofi-config/config
Normal file
|
@ -0,0 +1,2 @@
|
|||
allow_images = true
|
||||
term = alacritty
|
46
users/rouven/modules/hyprland/wofi-config/style.css
Normal file
46
users/rouven/modules/hyprland/wofi-config/style.css
Normal file
|
@ -0,0 +1,46 @@
|
|||
window {
|
||||
margin: 0px;
|
||||
border: 1px solid #bd93f9;
|
||||
background-color: #282a36;
|
||||
}
|
||||
|
||||
#input {
|
||||
margin: 5px;
|
||||
border: none;
|
||||
color: #f8f8f2;
|
||||
background-color: #44475a;
|
||||
}
|
||||
|
||||
#inner-box {
|
||||
margin: 5px;
|
||||
border: none;
|
||||
background-color: #282a36;
|
||||
}
|
||||
|
||||
#outer-box {
|
||||
margin: 5px;
|
||||
border: none;
|
||||
background-color: #282a36;
|
||||
}
|
||||
|
||||
#scroll {
|
||||
margin: 0px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#text {
|
||||
margin: 5px;
|
||||
border: none;
|
||||
color: #f8f8f2;
|
||||
}
|
||||
|
||||
#entry:selected {
|
||||
background-color: #44475a;
|
||||
}
|
||||
|
||||
#entry:nth-child(even){
|
||||
background-color: #404552;
|
||||
}
|
||||
#entry:nth-child(odd){
|
||||
background-color: #404552;
|
||||
}
|
|
@ -5,11 +5,9 @@
|
|||
wpa_supplicant_gui
|
||||
pcmanfm
|
||||
xsel
|
||||
lightlocker
|
||||
vlc
|
||||
|
||||
# graphics
|
||||
feh
|
||||
okular
|
||||
gimp
|
||||
|
||||
|
@ -45,10 +43,10 @@
|
|||
neofetch
|
||||
trash-cli
|
||||
spotify
|
||||
nixpkgs-fmt
|
||||
virt-manager
|
||||
powerline-fonts
|
||||
ventoy-bin
|
||||
mpd
|
||||
|
||||
# libs
|
||||
libyubikey
|
||||
|
|
Loading…
Reference in a new issue