hyprland: added editor bind and abstracted basic utilities to variables

This commit is contained in:
Aly Raffauf 2024-03-31 09:04:32 -04:00
parent 79552ed846
commit 10e05ac132

View file

@ -29,31 +29,35 @@ env = GDK_SCALE,1.5
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Execute your favorite apps at launch
exec-once = dbus-update-activation-environment --systemd HYPRLAND_INSTANCE_SIGNATURE
exec-once = hyprshade auto
exec-once = hyprpaper
exec-once = waybar
exec-once = mako
exec-once = wl-paste --type text --watch cliphist store #Stores only text data
exec-once = wl-paste --type image --watch cliphist store #Stores only image data
exec-once = hypridle
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
# Set programs that you use
# Basic apps
$terminal = alacritty
$fileManager = thunar
$menu = fuzzel
$browser = firefox
$editor = codium
# Shell utilities
$bar = waybar
$launcher = fuzzel
$notifications = mako
$wallpaper = hyprpaper
# Some default env vars.
env = XCURSOR_SIZE,24
# env = QT_QPA_PLATFORMTHEME,gtk
# Execute your favorite apps at launch
exec-once = dbus-update-activation-environment --systemd HYPRLAND_INSTANCE_SIGNATURE
exec-once = hyprshade auto
exec-once = $wallpaper
exec-once = $bar
exec-once = $notifications
exec-once = wl-paste --type text --watch cliphist store #Stores only text data
exec-once = wl-paste --type image --watch cliphist store #Stores only image data
exec-once = hypridle
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
kb_layout = us
@ -177,10 +181,11 @@ $mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, T, exec, $terminal
# bind = $mainMod, $mainMod_L, exec, $menu
bind = $mainMod, R, exec, $menu
bind = $mainMod, F, exec, $fileManager
bind = $mainMod, B, exec, $browser
bind = $mainMod, E, exec, $editor
bind = $mainMod, R, exec, $launcher
# Manage session.
bind = $mainMod, C, killactive,