Skip to content

Commit

Permalink
fix: hyprland use apps exported from shell
Browse files Browse the repository at this point in the history
  • Loading branch information
rubiin committed Sep 7, 2024
1 parent dc2ebaa commit 9c35946
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
5 changes: 5 additions & 0 deletions Configs/.config/fish/config.fish
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ if status is-interactive
starship init fish | source
end

set -x BROWSER 'firefox'
set -x VISUAL 'code'
set -x FILE 'dolphin'
set -x TERM 'kitty'

# List Directory
alias l='eza -lh --icons=auto' # long list
alias ls='eza -1 --icons=auto' # short list
Expand Down
8 changes: 4 additions & 4 deletions Configs/.config/hypr/keybindings.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
$mainMod = Super # super / meta / windows key

# Assign apps
$term = kitty
$editor = code
$file = dolphin
$browser = firefox
$term = $BROWSER
$editor = $VISUAL
$file = $FILE
$browser = $BROWSER

# Window/Session actions
bind = $mainMod, Q, exec, $scrPath/dontkillsteam.sh # close focused window
Expand Down
7 changes: 7 additions & 0 deletions Configs/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme
plugins=()
source $ZSH/oh-my-zsh.sh

# Default apps
export BROWSER="firefox"
export VISUAL="code"
export FILE="dolphin"
export TERM="kitty"


# In case a command is not found, try to find the package that has it
function command_not_found_handler {
local purple='\e[1;35m' bright='\e[0;1m' green='\e[1;32m' reset='\e[0m'
Expand Down

0 comments on commit 9c35946

Please sign in to comment.