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 # See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Execute your favorite apps at launch # Basic apps
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
$terminal = alacritty $terminal = alacritty
$fileManager = thunar $fileManager = thunar
$menu = fuzzel
$browser = firefox $browser = firefox
$editor = codium
# Shell utilities
$bar = waybar $bar = waybar
$launcher = fuzzel
$notifications = mako
$wallpaper = hyprpaper
# Some default env vars. # Some default env vars.
env = XCURSOR_SIZE,24 env = XCURSOR_SIZE,24
# env = QT_QPA_PLATFORMTHEME,gtk # 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/ # For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input { input {
kb_layout = us kb_layout = us
@ -177,10 +181,11 @@ $mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, T, exec, $terminal bind = $mainMod, T, exec, $terminal
# bind = $mainMod, $mainMod_L, exec, $menu
bind = $mainMod, R, exec, $menu
bind = $mainMod, F, exec, $fileManager bind = $mainMod, F, exec, $fileManager
bind = $mainMod, B, exec, $browser bind = $mainMod, B, exec, $browser
bind = $mainMod, E, exec, $editor
bind = $mainMod, R, exec, $launcher
# Manage session. # Manage session.
bind = $mainMod, C, killactive, bind = $mainMod, C, killactive,