mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-22 19:10:24 +10:00
Minor edits
This commit is contained in:
@@ -28,9 +28,13 @@
|
|||||||
# To list all available monitors (active and inactive):
|
# To list all available monitors (active and inactive):
|
||||||
# hyprctl monitors all
|
# hyprctl monitors all
|
||||||
# monitor= name, resolution, pos, scale
|
# monitor= name, resolution, pos, scale
|
||||||
monitor = DP-1, 1920x1080, 1920x0, 1
|
|
||||||
monitor = DP-2, 1920x1080, 0x0, 1
|
### DT'S HOME COMPUTER
|
||||||
monitor = HDMI-A-1, 1920x1080, 3840x0, 1
|
# 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 ###
|
### MY PROGRAMS ###
|
||||||
@@ -42,7 +46,8 @@ monitor = HDMI-A-1, 1920x1080, 3840x0, 1
|
|||||||
$terminal = alacritty
|
$terminal = alacritty
|
||||||
$fileManager = pcmanfm
|
$fileManager = pcmanfm
|
||||||
$menu = wofi --show drun
|
$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 ###
|
### AUTOSTART ###
|
||||||
@@ -55,7 +60,6 @@ $menu = wofi --show drun
|
|||||||
# exec-once = nm-applet &
|
# exec-once = nm-applet &
|
||||||
exec-once = waybar & hyprpaper
|
exec-once = waybar & hyprpaper
|
||||||
|
|
||||||
|
|
||||||
#############################
|
#############################
|
||||||
### ENVIRONMENT VARIABLES ###
|
### ENVIRONMENT VARIABLES ###
|
||||||
#############################
|
#############################
|
||||||
@@ -64,18 +68,16 @@ exec-once = waybar & hyprpaper
|
|||||||
|
|
||||||
env = XCURSOR_SIZE,24
|
env = XCURSOR_SIZE,24
|
||||||
env = HYPRCURSOR_SIZE,24
|
env = HYPRCURSOR_SIZE,24
|
||||||
env = LIBVA_DRIVER_NAME,nvidia
|
# env = LIBVA_DRIVER_NAME,nvidia
|
||||||
env = XDG_SESSION_TYPE,wayland
|
# env = XDG_SESSION_TYPE,wayland
|
||||||
env = GBM_BACKEND,nvidia-drm
|
# env = GBM_BACKEND,nvidia-drm
|
||||||
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
# env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||||
|
|
||||||
cursor {
|
cursor {
|
||||||
no_hardware_cursors = true
|
no_hardware_cursors = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#####################
|
#####################
|
||||||
### LOOK AND FEEL ###
|
### LOOK AND FEEL ###
|
||||||
#####################
|
#####################
|
||||||
@@ -158,7 +160,6 @@ misc {
|
|||||||
disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
|
disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#############
|
#############
|
||||||
### INPUT ###
|
### INPUT ###
|
||||||
#############
|
#############
|
||||||
@@ -192,7 +193,6 @@ device {
|
|||||||
sensitivity = -0.5
|
sensitivity = -0.5
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
###################
|
###################
|
||||||
### KEYBINDINGS ###
|
### KEYBINDINGS ###
|
||||||
###################
|
###################
|
||||||
@@ -257,6 +257,24 @@ bind = $mainMod, mouse_up, workspace, e-1
|
|||||||
bindm = $mainMod, mouse:272, movewindow
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
bindm = $mainMod, mouse:273, resizewindow
|
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
|
# Laptop multimedia keys for volume and LCD brightness
|
||||||
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||||
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||||
|
|||||||
@@ -222,7 +222,7 @@ keys = [
|
|||||||
Key([mod], "period", lazy.next_screen(), desc='Move focus to next monitor'),
|
Key([mod], "period", lazy.next_screen(), desc='Move focus to next monitor'),
|
||||||
Key([mod], "comma", lazy.prev_screen(), desc='Move focus to prev monitor'),
|
Key([mod], "comma", lazy.prev_screen(), desc='Move focus to prev monitor'),
|
||||||
|
|
||||||
# Emacs programs launched using the key chord CTRL+e followed by 'key'
|
# Emacs programs launched using the key chord SUPER+e followed by 'key'
|
||||||
KeyChord([mod],"e", [
|
KeyChord([mod],"e", [
|
||||||
Key([], "e", lazy.spawn(myEmacs), desc='Emacs Dashboard'),
|
Key([], "e", lazy.spawn(myEmacs), desc='Emacs Dashboard'),
|
||||||
Key([], "a", lazy.spawn(myEmacs + "--eval '(emms-play-directory-tree \"~/Music/\")'"), desc='Emacs EMMS'),
|
Key([], "a", lazy.spawn(myEmacs + "--eval '(emms-play-directory-tree \"~/Music/\")'"), desc='Emacs EMMS'),
|
||||||
|
|||||||
@@ -55,7 +55,6 @@
|
|||||||
"max-length": 8,
|
"max-length": 8,
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
|
|
||||||
"keyboard-state": {
|
"keyboard-state": {
|
||||||
"numlock": true,
|
"numlock": true,
|
||||||
"capslock": true,
|
"capslock": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user