hypr changes
This commit is contained in:
parent
3cc08d126c
commit
f2d78c7fdd
|
@ -357,6 +357,7 @@ ark
|
||||||
ifuse
|
ifuse
|
||||||
dash
|
dash
|
||||||
brightnessctl
|
brightnessctl
|
||||||
|
dunst
|
||||||
ttyper
|
ttyper
|
||||||
kget
|
kget
|
||||||
audacity
|
audacity
|
||||||
|
@ -669,6 +670,10 @@ Notice how I am including all of my software here. It may be a big file, but hav
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
<<env>>
|
<<env>>
|
||||||
VDPAU_DRIVER = lib.mkIf config.hardware.opengl.enable (lib.mkDefault "va_gl");
|
VDPAU_DRIVER = lib.mkIf config.hardware.opengl.enable (lib.mkDefault "va_gl");
|
||||||
|
QT_QPA_PLATFORMTHEME = "qt5ct";
|
||||||
|
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||||
|
QT_QPA_PLATFORM = "wayland;xcb";
|
||||||
|
QT_AUTO_SCREEN_SCALE_FACTOR = "1";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
|
|
|
@ -13,7 +13,7 @@ input {
|
||||||
# kb_rules=
|
# kb_rules=
|
||||||
repeat_rate=140
|
repeat_rate=140
|
||||||
repeat_delay=180
|
repeat_delay=180
|
||||||
natural_scroll=1
|
natural_scroll=0
|
||||||
sensitivity=0.85
|
sensitivity=0.85
|
||||||
|
|
||||||
follow_mouse=0
|
follow_mouse=0
|
||||||
|
@ -46,7 +46,7 @@ gestures {
|
||||||
decoration {
|
decoration {
|
||||||
rounding=18
|
rounding=18
|
||||||
active_opacity=0.95
|
active_opacity=0.95
|
||||||
inactive_opacity=0.75
|
inactive_opacity=0.85
|
||||||
fullscreen_opacity=1.0
|
fullscreen_opacity=1.0
|
||||||
blur=true
|
blur=true
|
||||||
blur_new_optimizations=true
|
blur_new_optimizations=true
|
||||||
|
@ -59,15 +59,17 @@ decoration {
|
||||||
shadow_range=30
|
shadow_range=30
|
||||||
shadow_render_power=2
|
shadow_render_power=2
|
||||||
dim_inactive=true
|
dim_inactive=true
|
||||||
dim_strength=0.3
|
dim_strength=0.2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bezier=snapslide,0.07,0.66,0.04,1.02
|
||||||
|
|
||||||
animations {
|
animations {
|
||||||
enabled=1
|
enabled=1
|
||||||
animation=windows,1,4,default
|
animation=windows,1,2,snapslide
|
||||||
# animation=borders,1,10,default
|
# animation=borders,1,10,default
|
||||||
animation=fadeIn,1,10,default
|
animation=fadeIn,1,2,snapslide
|
||||||
animation=workspaces,1,6,default
|
animation=workspaces,1,2,snapslide
|
||||||
}
|
}
|
||||||
|
|
||||||
dwindle {
|
dwindle {
|
||||||
|
@ -88,6 +90,11 @@ master {
|
||||||
#windowrule=float,abc
|
#windowrule=float,abc
|
||||||
#windowrule=pseudo,abc
|
#windowrule=pseudo,abc
|
||||||
windowrule=opaque,firefox
|
windowrule=opaque,firefox
|
||||||
|
windowrule=float,dolphin
|
||||||
|
windowrule=float,mpv
|
||||||
|
windowrule=size 90% 76%,mpv
|
||||||
|
windowrule=center,mpv
|
||||||
|
windowrule=float,pulsemixer
|
||||||
|
|
||||||
# example binds
|
# example binds
|
||||||
bind=SUPER,RETURN,exec,alacritty
|
bind=SUPER,RETURN,exec,alacritty
|
||||||
|
@ -98,6 +105,7 @@ bind=SUPERSHIFT,F,togglefloating,
|
||||||
bindr=SUPER,Super_L,exec,/home/chris/bin/launcher.sh
|
bindr=SUPER,Super_L,exec,/home/chris/bin/launcher.sh
|
||||||
bind=SUPER,E,exec,/home/chris/bin/emacslof
|
bind=SUPER,E,exec,/home/chris/bin/emacslof
|
||||||
bind=SUPER,B,exec,/home/chris/bin/fflof
|
bind=SUPER,B,exec,/home/chris/bin/fflof
|
||||||
|
bind=SUPER,A,exec,alacritty --class pulsemixer -e pulsemixer
|
||||||
|
|
||||||
bind=SUPER,P,pseudo,
|
bind=SUPER,P,pseudo,
|
||||||
bind=SUPER,M,fullscreen,1
|
bind=SUPER,M,fullscreen,1
|
||||||
|
@ -111,8 +119,8 @@ bind=SUPERSHIFT,h,movewindow,l
|
||||||
bind=SUPERSHIFT,l,movewindow,r
|
bind=SUPERSHIFT,l,movewindow,r
|
||||||
bind=SUPERSHIFT,k,movewindow,u
|
bind=SUPERSHIFT,k,movewindow,u
|
||||||
bind=SUPERSHIFT,j,movewindow,d
|
bind=SUPERSHIFT,j,movewindow,d
|
||||||
bind=SUPERCTRL,l,splitratio,+0.1
|
bind=SUPERCTRL,l,splitratio,+0.05
|
||||||
bind=SUPERCTRL,h,splitratio,-0.1
|
bind=SUPERCTRL,h,splitratio,-0.05
|
||||||
|
|
||||||
bind=SUPER,1,workspace,1
|
bind=SUPER,1,workspace,1
|
||||||
bind=SUPER,2,workspace,2
|
bind=SUPER,2,workspace,2
|
||||||
|
@ -141,5 +149,15 @@ bind=ALT,0,movetoworkspace,10
|
||||||
|
|
||||||
bind=SUPER,O,movetoworkspace,next
|
bind=SUPER,O,movetoworkspace,next
|
||||||
|
|
||||||
|
binde=, XF86AudioRaiseVolume, exec, pamixer -i 5
|
||||||
|
binde=, XF86AudioLowerVolume, exec, pamixer -d 5
|
||||||
|
binde=, XF86AudioMute, exec, pamixer -t
|
||||||
|
|
||||||
|
binde=, XF86MonBrightnessUp, exec, brightnessctl s +10%
|
||||||
|
binde=, XF86MonBrightnessDown, exec, brightnessctl s 10%-
|
||||||
|
|
||||||
|
bindm=SUPER,mouse:272,movewindow
|
||||||
|
bindm=SUPER,mouse:273,resizewindow
|
||||||
|
|
||||||
exec-once=/home/chris/bin/startup.sh
|
exec-once=/home/chris/bin/startup.sh
|
||||||
exec-once=hyprpaper
|
exec-once=hyprpaper
|
|
@ -1,3 +1,4 @@
|
||||||
preload = ~/Pictures/wallpapers/nixorange.jpeg
|
preload = ~/Pictures/wallpapers/nixorange.jpeg
|
||||||
wallpaper = DVI-D-1,~/Pictures/wallpapers/nixorange.jpeg
|
wallpaper = DVI-D-1,~/Pictures/wallpapers/nixorange.jpeg
|
||||||
wallpaper = HDMI-A-1,~/Pictures/wallpapers/nixorange.jpeg
|
wallpaper = HDMI-A-1,~/Pictures/wallpapers/nixorange.jpeg
|
||||||
|
wallpaper = eDP-1,~/Pictures/wallpapers/nixorange.jpeg
|
|
@ -5,7 +5,7 @@ if [ $(pgrep -c emacsclient) -gt 0 ]; then
|
||||||
echo hi
|
echo hi
|
||||||
|
|
||||||
if [ "$XDG_SESSION_TYPE" = "x11" ]; then
|
if [ "$XDG_SESSION_TYPE" = "x11" ]; then
|
||||||
#X11
|
echo X11
|
||||||
emacsrg=$(wmctrl -lx | rg emacs.Emacs | rg -v org-agenda | awk '{print $1}')
|
emacsrg=$(wmctrl -lx | rg emacs.Emacs | rg -v org-agenda | awk '{print $1}')
|
||||||
echo $emacsrg
|
echo $emacsrg
|
||||||
|
|
||||||
|
@ -21,8 +21,8 @@ if [ $(pgrep -c emacsclient) -gt 0 ]; then
|
||||||
exec /home/chris/bin/ww -fa Emacs -c emacsclient
|
exec /home/chris/bin/ww -fa Emacs -c emacsclient
|
||||||
exit
|
exit
|
||||||
else
|
else
|
||||||
# WAYLAND
|
echo WAYLAND
|
||||||
emacsrg=$(wlrctl window list | rg -v 'Emacs:\sorg-agenda' | rg 'Emacs:')
|
emacsrg=$(wlrctl window list | rg Emacs)
|
||||||
|
|
||||||
emacswin=$(echo $emacsrg | sed 's/.*\: //')
|
emacswin=$(echo $emacsrg | sed 's/.*\: //')
|
||||||
echo $emacswin
|
echo $emacswin
|
||||||
|
|
|
@ -241,6 +241,7 @@
|
||||||
ifuse
|
ifuse
|
||||||
dash
|
dash
|
||||||
brightnessctl
|
brightnessctl
|
||||||
|
dunst
|
||||||
ttyper
|
ttyper
|
||||||
kget
|
kget
|
||||||
audacity
|
audacity
|
||||||
|
|
|
@ -179,6 +179,10 @@
|
||||||
# QT_XCB_GL_INTEGRATION = "xcb_egl";
|
# QT_XCB_GL_INTEGRATION = "xcb_egl";
|
||||||
# QT_QPA_PLATFORM_PLUGIN_PATH = "${pkgs.qt5.qtbase.bin}/lib/qt-${pkgs.qt5.qtbase.qtCompatVersion}/plugins/platforms";
|
# QT_QPA_PLATFORM_PLUGIN_PATH = "${pkgs.qt5.qtbase.bin}/lib/qt-${pkgs.qt5.qtbase.qtCompatVersion}/plugins/platforms";
|
||||||
VDPAU_DRIVER = lib.mkIf config.hardware.opengl.enable (lib.mkDefault "va_gl");
|
VDPAU_DRIVER = lib.mkIf config.hardware.opengl.enable (lib.mkDefault "va_gl");
|
||||||
|
QT_QPA_PLATFORMTHEME = "qt5ct";
|
||||||
|
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||||
|
QT_QPA_PLATFORM = "wayland;xcb";
|
||||||
|
QT_AUTO_SCREEN_SCALE_FACTOR = "1";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
|
@ -257,6 +261,7 @@
|
||||||
ifuse
|
ifuse
|
||||||
dash
|
dash
|
||||||
brightnessctl
|
brightnessctl
|
||||||
|
dunst
|
||||||
ttyper
|
ttyper
|
||||||
kget
|
kget
|
||||||
audacity
|
audacity
|
||||||
|
|
|
@ -4,13 +4,13 @@
|
||||||
"height": 30, // Waybar height (to be removed for auto height)
|
"height": 30, // Waybar height (to be removed for auto height)
|
||||||
// "width": 1280, // Waybar width
|
// "width": 1280, // Waybar width
|
||||||
// Choose the order of the modules "custom/wintitle",
|
// Choose the order of the modules "custom/wintitle",
|
||||||
"modules-left": ["sway/workspaces", "hyprland/window", "river/tags", "sway/mode", "sway/window"],
|
"modules-left": ["wlr/workspaces", "hyprland/window"],
|
||||||
"modules-center": ["clock"],
|
"modules-center": ["clock"],
|
||||||
"modules-right": ["pulseaudio", "network", "memory", "cpu", "battery", "battery#bat2", "tray"],
|
"modules-right": ["pulseaudio", "backlight", "network", "memory", "cpu", "battery", "battery#bat2", "tray"],
|
||||||
"margin-top": 0,
|
"margin-top": 0,
|
||||||
"margin-bottom": 10,
|
"margin-bottom": 10,
|
||||||
"margin-left": 10,
|
"margin-left": 17,
|
||||||
"margin-right": 10,
|
"margin-right": 17,
|
||||||
// Modules configuration
|
// Modules configuration
|
||||||
"sway/workspaces": {
|
"sway/workspaces": {
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
"num-tags": 8
|
"num-tags": 8
|
||||||
},
|
},
|
||||||
"hyprland/window": {
|
"hyprland/window": {
|
||||||
"format": "{}"
|
"format": " {}"
|
||||||
},
|
},
|
||||||
"sway/mode": {
|
"sway/mode": {
|
||||||
"format": "<span style=\"italic\"> {}</span>"
|
"format": "<span style=\"italic\"> {}</span>"
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
// "timezone": "America/New_York",
|
// "timezone": "America/New_York",
|
||||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||||
"format-alt": "{:%Y-%m-%d}",
|
"format-alt": "{:%Y-%m-%d}",
|
||||||
"format": "{:%a %b %e, %l:%M %p}"
|
"format": "{:%a %b%e, %I:%M %p}"
|
||||||
},
|
},
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"format": " {usage}%",
|
"format": " {usage}%",
|
||||||
|
@ -95,12 +95,13 @@
|
||||||
"critical": 15
|
"critical": 15
|
||||||
},
|
},
|
||||||
"format": "{icon} {capacity}%",
|
"format": "{icon} {capacity}%",
|
||||||
"format-charging": " {capacity}%",
|
"format-charging": "{charging-icons} {capacity}%",
|
||||||
"format-plugged": " {capacity}%",
|
"format-plugged": " {capacity}%",
|
||||||
"format-alt": "{time} {icon}",
|
"format-alt": "{time} {icon}",
|
||||||
// "format-good": "", // An empty format will hide the module
|
// "format-good": "", // An empty format will hide the module
|
||||||
// "format-full": "",
|
// "format-full": "",
|
||||||
"format-icons": [" ", " ", " ", " ", " "]
|
"format-icons": [" ", " ", " ", " ", " "],
|
||||||
|
"format-charging-icons": [" ", " ", " ", " ", " "]
|
||||||
},
|
},
|
||||||
"network": {
|
"network": {
|
||||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||||
|
@ -127,7 +128,7 @@
|
||||||
"car": "",
|
"car": "",
|
||||||
"default": ["", "", ""]
|
"default": ["", "", ""]
|
||||||
},
|
},
|
||||||
"on-click": "pavucontrol"
|
"on-click": "alacritty --class pulsemixer -e pulsemixer"
|
||||||
},
|
},
|
||||||
"custom/media": {
|
"custom/media": {
|
||||||
"format": "{icon} {}",
|
"format": "{icon} {}",
|
||||||
|
|
|
@ -118,8 +118,8 @@ window#waybar.solo {
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
transition: none;
|
transition: none;
|
||||||
color: @base01;
|
color: @base08;
|
||||||
background: @base0B;
|
background: @backtransparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery.warning {
|
#battery.warning {
|
||||||
|
@ -148,7 +148,7 @@ window#waybar.solo {
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
transition: none;
|
transition: none;
|
||||||
color: @base0A;
|
color: @base0B;
|
||||||
background: @backtransparent;
|
background: @backtransparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -157,7 +157,7 @@ window#waybar.solo {
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
transition: none;
|
transition: none;
|
||||||
color: @base0B;
|
color: @base09;
|
||||||
background: @backtransparent;
|
background: @backtransparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -179,7 +179,7 @@ window#waybar.solo {
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
transition: none;
|
transition: none;
|
||||||
color: @base0E;
|
color: @base0C;
|
||||||
background: @backtransparent;
|
background: @backtransparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue