mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-22 11:00:27 +10:00
Minor edits
This commit is contained in:
@@ -28,9 +28,13 @@
|
||||
# To list all available monitors (active and inactive):
|
||||
# hyprctl monitors all
|
||||
# monitor= name, resolution, pos, scale
|
||||
monitor = DP-1, 1920x1080, 1920x0, 1
|
||||
monitor = DP-2, 1920x1080, 0x0, 1
|
||||
monitor = HDMI-A-1, 1920x1080, 3840x0, 1
|
||||
|
||||
### DT'S HOME COMPUTER
|
||||
# monitor = DP-1, 1920x1080, 1920x0, 1
|
||||
# monitor = DP-2, 1920x1080, 0x0, 1
|
||||
# monitor = HDMI-A-1, 1920x1080, 3840x0, 1
|
||||
|
||||
source = ~/.config/hypr/monitors.conf
|
||||
|
||||
###################
|
||||
### MY PROGRAMS ###
|
||||
@@ -42,7 +46,8 @@ monitor = HDMI-A-1, 1920x1080, 3840x0, 1
|
||||
$terminal = alacritty
|
||||
$fileManager = pcmanfm
|
||||
$menu = wofi --show drun
|
||||
|
||||
$emacs = emacsclient -c -a 'emacs' # The space at the end is IMPORTANT!
|
||||
$reset = hyprctl dispatch submap reset && #use a variable to keep things more readable
|
||||
|
||||
#################
|
||||
### AUTOSTART ###
|
||||
@@ -55,7 +60,6 @@ $menu = wofi --show drun
|
||||
# exec-once = nm-applet &
|
||||
exec-once = waybar & hyprpaper
|
||||
|
||||
|
||||
#############################
|
||||
### ENVIRONMENT VARIABLES ###
|
||||
#############################
|
||||
@@ -64,18 +68,16 @@ exec-once = waybar & hyprpaper
|
||||
|
||||
env = XCURSOR_SIZE,24
|
||||
env = HYPRCURSOR_SIZE,24
|
||||
env = LIBVA_DRIVER_NAME,nvidia
|
||||
env = XDG_SESSION_TYPE,wayland
|
||||
env = GBM_BACKEND,nvidia-drm
|
||||
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||
# env = LIBVA_DRIVER_NAME,nvidia
|
||||
# env = XDG_SESSION_TYPE,wayland
|
||||
# env = GBM_BACKEND,nvidia-drm
|
||||
# env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||
|
||||
cursor {
|
||||
no_hardware_cursors = true
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#####################
|
||||
### LOOK AND FEEL ###
|
||||
#####################
|
||||
@@ -158,7 +160,6 @@ misc {
|
||||
disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
|
||||
}
|
||||
|
||||
|
||||
#############
|
||||
### INPUT ###
|
||||
#############
|
||||
@@ -192,7 +193,6 @@ device {
|
||||
sensitivity = -0.5
|
||||
}
|
||||
|
||||
|
||||
###################
|
||||
### KEYBINDINGS ###
|
||||
###################
|
||||
@@ -257,6 +257,24 @@ bind = $mainMod, mouse_up, workspace, e-1
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
# Emacs programs launched using the key chord SUPER+e followed by 'key'
|
||||
bind = $mainMod, E, submap, emacs # will switch to a submap called 'emacs'
|
||||
submap = emacs # will start a submap called "resize"
|
||||
# sets repeatable binds for resizing the active window
|
||||
binde = , E, exec, $reset $emacs
|
||||
binde = , A, exec, $reset $emacs --eval '(emms-play-directory-tree \"~/Music/\")'
|
||||
binde = , B, exec, $reset $emacs --eval '(ibuffer)'
|
||||
binde = , D, exec, $reset $emacs --eval '(dired nil)'
|
||||
binde = , I, exec, $reset $emacs --eval '(erc)'
|
||||
binde = , S, exec, $reset $emacs --eval '(eshell)'
|
||||
binde = , V, exec, $reset $emacs --eval '(vterm)'
|
||||
binde = , W, exec, $reset $emacs --eval '(eww \"distro.tube\")'
|
||||
binde = , F4, exec, $reset killall emacs
|
||||
# use reset to go back to the global submap
|
||||
bind = , escape, submap, reset
|
||||
# will reset the submap, which will return to the global submap
|
||||
submap = reset
|
||||
|
||||
# Laptop multimedia keys for volume and LCD brightness
|
||||
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
|
||||
Reference in New Issue
Block a user