mimeapps and autolaunching apps

This commit is contained in:
Alexander Bell 2025-05-13 01:28:53 +02:00
parent e0b5c185eb
commit b5376c48d5
5 changed files with 26 additions and 3 deletions

View File

@ -8,5 +8,6 @@
alias ls='ls --color=auto'
alias grep='grep --color=auto'
PS1='[\u@\h \W]\$ '
alias l='ls -la'
fastfetch

View File

@ -5,12 +5,15 @@
# See https://wiki.hyprland.org/Configuring/Keywords/
$mainMod = SUPER # Sets "Windows" key as main modifier
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
# Binds apps https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, RETURN, exec, $terminal
bind = $mainMod, B, exec, $browser
bind = $mainMod, Y, exec, $filemanager
bind = $mainMod, M, exec, $email
# General binds
bind = $mainMod, Q, killactive,
bind = $mainMod, M, exit,
#bind = $mainMod, M, exit,
bind = $mainMod, Y, exec, $fileManager
bind = $mainMod, X, togglefloating,
bind = $mainMod, F, fullscreen,

View File

@ -16,9 +16,10 @@ monitor=,preferred,auto,1.566667
# Set programs that you use
$terminal = kitty
$filemanager = yazi
$filemanager = kitty -e yazi
$menu = wofi --show drun
$browser = firefox
$email = thunderbird
#################
### AUTOSTART ###
@ -27,6 +28,8 @@ $browser = firefox
# Autostart necessary processes (like notifications daemons, status bars, etc.)
exec-once = waybar
exec-once = dunst
exec-once = [workspace 1 silent] $browser
exec-once = [workspace 2 silent] $terminal
#############################
### ENVIRONMENT VARIABLES ###

View File

@ -3,6 +3,8 @@
# Run as root
ln -s hypr ../.config/hypr
ln -s fastfetch ../.config/fastfetch
ln -s mimeapps.list ../.config/mimeapps.list
# Hyperland stuff
pacman -S uwsm hyprland xdg-desktop-portal-hyprland

14
mimeapps.list Normal file
View File

@ -0,0 +1,14 @@
[Default Applications]
x-scheme-handler/mailto=userapp-Thunderbird-B1FR62.desktop
message/rfc822=userapp-Thunderbird-B1FR62.desktop
x-scheme-handler/mid=userapp-Thunderbird-B1FR62.desktop
image/png=imv.desktop
image/jpeg=imv.desktop
image/gif=imv.desktop
image/bmp=imv.desktop
image/webp=imv.desktop
[Added Associations]
x-scheme-handler/mailto=userapp-Thunderbird-B1FR62.desktop;
x-scheme-handler/mid=userapp-Thunderbird-B1FR62.desktop;