From c5dd865151b3eae43178468196658d5e538f7e89 Mon Sep 17 00:00:00 2001 From: Lukian Date: Tue, 29 Oct 2024 22:55:04 +0100 Subject: [PATCH] commit --- .config/hypr/hyprland.conf | 7 ++- .config/kitty/kitty.conf | 2 +- .config/waybar/config.jsonc | 4 +- .config/waybar/style.css | 1 + .zshrc | 119 ++++++++++++++++++++++++++++++++++++ 5 files changed, 130 insertions(+), 3 deletions(-) create mode 100644 .zshrc diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index ca68ed1..7384f8d 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -19,7 +19,7 @@ $menu = wofi --show drun ### AUTOSTART ### ################# -exec-once = waybar & hyprpaper +exec-once = waybar & hyprpaper & nm-applet --indicator & blueman-applet ############################# @@ -202,6 +202,11 @@ bind = $mainMod, mouse_up, workspace, e-1 bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow +bind = $mainMod SHIFT, right, resizeactive, 50 0 +bind = $mainMod SHIFT, left, resizeactive, -50 0 +bind = $mainMod SHIFT, up, resizeactive, 0 -50 +bind = $mainMod SHIFT, down, resizeactive, 0 50 + # Laptop multimedia keys for volume and LCD brightness bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index 53bc789..3aad942 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -8,7 +8,7 @@ font_size 11.0 foreground #dddddd background #0d0c0c -background_opacity 0.6 +background_opacity 0.8 # black color0 #45475a diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index 2044713..35f1509 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -19,6 +19,7 @@ "backlight", "battery", "battery#bat2", + "tray", "custom/power" ], "mpd": { @@ -108,7 +109,8 @@ "tooltip-format": "{ifname} via {gwaddr} ", "format-linked": "{ifname} (No IP) ", "format-disconnected": "Disconnected ⚠", - "format-alt": "{ifname}: {ipaddr}/{cidr}" + "format-alt": "{ifname}: {ipaddr}/{cidr}", + "tooltip": true }, "pulseaudio": { "scroll-step": 5, // %, can be a float diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 36a9d1a..26e7aac 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -65,6 +65,7 @@ window#waybar.chromium { #pulseaudio, #custom-media, #power, +#tray, #custom-power { padding: 7px 10px; color: #E6C873; diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..d5ea9fa --- /dev/null +++ b/.zshrc @@ -0,0 +1,119 @@ +# If you come from bash you might have to change your $PATH. +# export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH + +# Path to your Oh My Zsh installation. +export ZSH="$HOME/.oh-my-zsh" + +# Set name of the theme to load --- if set to "random", it will +# load a random theme each time Oh My Zsh is loaded, in which case, +# to know which specific one was loaded, run: echo $RANDOM_THEME +# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes +ZSH_THEME="bira" + +# Set list of themes to pick from when loading at random +# Setting this variable when ZSH_THEME=random will cause zsh to load +# a theme from this variable instead of looking in $ZSH/themes/ +# If set to an empty array, this variable will have no effect. +# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" ) + +# Uncomment the following line to use case-sensitive completion. +# CASE_SENSITIVE="true" + +# Uncomment the following line to use hyphen-insensitive completion. +# Case-sensitive completion must be off. _ and - will be interchangeable. +# HYPHEN_INSENSITIVE="true" + +# Uncomment one of the following lines to change the auto-update behavior +# zstyle ':omz:update' mode disabled # disable automatic updates +# zstyle ':omz:update' mode auto # update automatically without asking +# zstyle ':omz:update' mode reminder # just remind me to update when it's time + +# Uncomment the following line to change how often to auto-update (in days). +# zstyle ':omz:update' frequency 13 + +# Uncomment the following line if pasting URLs and other text is messed up. +# DISABLE_MAGIC_FUNCTIONS="true" + +# Uncomment the following line to disable colors in ls. +# DISABLE_LS_COLORS="true" + +# Uncomment the following line to disable auto-setting terminal title. +# DISABLE_AUTO_TITLE="true" + +# Uncomment the following line to enable command auto-correction. +# ENABLE_CORRECTION="true" + +# Uncomment the following line to display red dots whilst waiting for completion. +# You can also set it to another string to have that shown instead of the default red dots. +# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f" +# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765) +# COMPLETION_WAITING_DOTS="true" + +# Uncomment the following line if you want to disable marking untracked files +# under VCS as dirty. This makes repository status check for large repositories +# much, much faster. +# DISABLE_UNTRACKED_FILES_DIRTY="true" + +# Uncomment the following line if you want to change the command execution time +# stamp shown in the history command output. +# You can set one of the optional three formats: +# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" +# or set a custom format using the strftime function format specifications, +# see 'man strftime' for details. +# HIST_STAMPS="mm/dd/yyyy" + +# Would you like to use another custom folder than $ZSH/custom? +# ZSH_CUSTOM=/path/to/new-custom-folder + +# Which plugins would you like to load? +# Standard plugins can be found in $ZSH/plugins/ +# Custom plugins may be added to $ZSH_CUSTOM/plugins/ +# Example format: plugins=(rails git textmate ruby lighthouse) +# Add wisely, as too many plugins slow down shell startup. +plugins=(git zsh-256color zsh-autosuggestions zsh-interactive-cd zsh-navigation-tools zsh-syntax-highlighting) + +source $ZSH/oh-my-zsh.sh + +# User configuration + +# export MANPATH="/usr/local/man:$MANPATH" + +# You may need to manually set your language environment +# export LANG=en_US.UTF-8 + +# Preferred editor for local and remote sessions +# if [[ -n $SSH_CONNECTION ]]; then +# export EDITOR='vim' +# else +# export EDITOR='nvim' +# fi + +# Compilation flags +# export ARCHFLAGS="-arch $(uname -m)" + +# Set personal aliases, overriding those provided by Oh My Zsh libs, +# plugins, and themes. Aliases can be placed here, though Oh My Zsh +# users are encouraged to define aliases within a top-level file in +# the $ZSH_CUSTOM folder, with .zsh extension. Examples: +# - $ZSH_CUSTOM/aliases.zsh +# - $ZSH_CUSTOM/macos.zsh +# For a full list of active aliases, run `alias`. +# +# Example aliases +# alias zshconfig="mate ~/.zshrc" +# alias ohmyzsh="mate ~/.oh-my-zsh" + +# Launch fastfetch at start +# fastfetch + + +# BEGIN opam configuration +# This is useful if you're using opam as it adds: +# - the correct directories to the PATH +# - auto-completion for the opam binary +# This section can be safely removed at any time if needed. +[[ ! -r '/home/lucien/.opam/opam-init/init.zsh' ]] || source '/home/lucien/.opam/opam-init/init.zsh' > /dev/null 2> /dev/null +# END opam configuration + +# start uwufetch +uwufetch