Add tmux
This commit is contained in:
parent
b472681050
commit
12d88a89d3
@ -4,5 +4,5 @@
|
|||||||
|
|
||||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||||
|
|
||||||
exec-once = waybar
|
exec-once = /home/iborrelli/.config/hypr/waybar.sh
|
||||||
|
|
||||||
|
|||||||
@ -4,9 +4,11 @@
|
|||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||||
$mainMod = SUPER # Sets "Windows" key as main modifier
|
$mainMod = SUPER # Sets "Windows" key as main modifier
|
||||||
|
$mod2 = ALT
|
||||||
|
|
||||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||||
bind = $mainMod, Q, exec, $terminal
|
bind = $mainMod, Q, exec, $terminal
|
||||||
|
bind = $mainMod, Return, exec, $terminal
|
||||||
bind = $mainMod, C, killactive,
|
bind = $mainMod, C, killactive,
|
||||||
bind = $mainMod, M, exit,
|
bind = $mainMod, M, exit,
|
||||||
bind = $mainMod, E, exec, $fileManager
|
bind = $mainMod, E, exec, $fileManager
|
||||||
@ -14,12 +16,22 @@ bind = $mainMod, V, togglefloating,
|
|||||||
bind = $mainMod, R, exec, $menu
|
bind = $mainMod, R, exec, $menu
|
||||||
bind = $mainMod, P, pseudo, # dwindle
|
bind = $mainMod, P, pseudo, # dwindle
|
||||||
bind = $mainMod, J, togglesplit, # dwindle
|
bind = $mainMod, J, togglesplit, # dwindle
|
||||||
|
bind = $mainMod, F, fullscreen
|
||||||
|
bind = $mainMod, B, exec, $browser
|
||||||
|
|
||||||
# Move focus with mainMod + arrow keys
|
# Shift workspace to next monitor
|
||||||
|
bind = $mainMod, Semicolon, movecurrentworkspacetomonitor, +1
|
||||||
|
bind = $mainMod Shift, Semicolon, movecurrentworkspacetomonitor, -1
|
||||||
|
|
||||||
|
# Move focus with mainMod + (arrow keys / hjkl)
|
||||||
bind = $mainMod, left, movefocus, l
|
bind = $mainMod, left, movefocus, l
|
||||||
bind = $mainMod, right, movefocus, r
|
bind = $mainMod, right, movefocus, r
|
||||||
bind = $mainMod, up, movefocus, u
|
bind = $mainMod, up, movefocus, u
|
||||||
bind = $mainMod, down, movefocus, d
|
bind = $mainMod, down, movefocus, d
|
||||||
|
bind = $mainMod, h, movefocus, l
|
||||||
|
bind = $mainMod, l, movefocus, r
|
||||||
|
bind = $mainMod, k, movefocus, u
|
||||||
|
bind = $mainMod, j, movefocus, d
|
||||||
|
|
||||||
# Switch workspaces with mainMod + [0-9]
|
# Switch workspaces with mainMod + [0-9]
|
||||||
bind = $mainMod, 1, workspace, 1
|
bind = $mainMod, 1, workspace, 1
|
||||||
@ -49,9 +61,15 @@ bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
|||||||
bind = $mainMod, S, togglespecialworkspace, magic
|
bind = $mainMod, S, togglespecialworkspace, magic
|
||||||
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
||||||
|
|
||||||
# Scroll through existing workspaces with mainMod + scroll
|
# Scroll through existing workspaces with mainMod + scroll or mod2 + (arrow keys / hjkl)
|
||||||
bind = $mainMod, mouse_down, workspace, e+1
|
bind = $mainMod, mouse_down, workspace, e+1
|
||||||
bind = $mainMod, mouse_up, workspace, e-1
|
bind = $mainMod, mouse_up, workspace, e-1
|
||||||
|
bind = $mod2, right, workspace, e+1
|
||||||
|
bind = $mod2, left, workspace, e-1
|
||||||
|
bind = $mod2, h, workspace, e-1
|
||||||
|
bind = $mod2, j, workspace, e-1
|
||||||
|
bind = $mod2, k, workspace, e+1
|
||||||
|
bind = $mod2, l, workspace, e+1
|
||||||
|
|
||||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||||
bindm = $mainMod, mouse:272, movewindow
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
@ -71,4 +89,3 @@ bindl = , XF86AudioPause, exec, playerctl play-pause
|
|||||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||||
|
|
||||||
bind = $mainMod, F, fullscreen
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||||
|
|
||||||
$terminal = kitty
|
$terminal = kitty
|
||||||
$fileManager = yazi
|
$fileManager = zsh -c 'source ~/.zshrc && kitty yazi'
|
||||||
$menu = wofi --show drun
|
$menu = wofi --show drun
|
||||||
$browser = firefox
|
$browser = firefox
|
||||||
$email = thunderbird
|
$email = thunderbird
|
||||||
|
|||||||
11
.config/hypr/waybar.sh
Executable file
11
.config/hypr/waybar.sh
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
CONFIG_FILES="$HOME/.config/waybar/config.jsonc $HOME/.config/waybar/style.css"
|
||||||
|
|
||||||
|
trap "killall waybar" EXIT
|
||||||
|
|
||||||
|
while true; do
|
||||||
|
waybar &
|
||||||
|
inotifywait -e create,modify $CONFIG_FILES
|
||||||
|
killall waybar
|
||||||
|
done
|
||||||
56
.config/tmux/tmux.conf
Normal file
56
.config/tmux/tmux.conf
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
# split panes using | and -
|
||||||
|
bind | split-window -h
|
||||||
|
bind - split-window -v
|
||||||
|
unbind '"'
|
||||||
|
unbind %
|
||||||
|
|
||||||
|
# reload config file (change file location to your the tmux.conf you want to use)
|
||||||
|
bind r source-file ~/.config/tmux/tmux.conf
|
||||||
|
|
||||||
|
# Enable mouse control (clickable windows, panes, resizable panes)
|
||||||
|
set -g mouse on
|
||||||
|
|
||||||
|
# don't rename windows automatically
|
||||||
|
set-option -g allow-rename off
|
||||||
|
|
||||||
|
# DESIGN TWEAKS
|
||||||
|
|
||||||
|
# don't do anything when a 'bell' rings
|
||||||
|
set -g visual-activity off
|
||||||
|
set -g visual-bell off
|
||||||
|
set -g visual-silence off
|
||||||
|
setw -g monitor-activity off
|
||||||
|
set -g bell-action none
|
||||||
|
|
||||||
|
# clock mode
|
||||||
|
setw -g clock-mode-colour yellow
|
||||||
|
|
||||||
|
# copy mode
|
||||||
|
setw -g mode-style 'fg=black bg=red bold'
|
||||||
|
|
||||||
|
# panes
|
||||||
|
set -g pane-border-style 'fg=green'
|
||||||
|
set -g pane-active-border-style 'fg=yellow'
|
||||||
|
|
||||||
|
# statusbar
|
||||||
|
set -g status-position bottom
|
||||||
|
set -g status-justify left
|
||||||
|
set -g status-style 'fg=red'
|
||||||
|
|
||||||
|
set -g status-left ''
|
||||||
|
set -g status-left-length 10
|
||||||
|
|
||||||
|
set -g status-right-style 'fg=black bg=yellow'
|
||||||
|
set -g status-right '%Y-%m-%d %H:%M '
|
||||||
|
set -g status-right-length 50
|
||||||
|
|
||||||
|
setw -g window-status-current-style 'fg=black bg=red'
|
||||||
|
setw -g window-status-current-format ' #I #W #F '
|
||||||
|
|
||||||
|
setw -g window-status-style 'fg=red bg=black'
|
||||||
|
setw -g window-status-format ' #I #[fg=white]#W #[fg=yellow]#F '
|
||||||
|
|
||||||
|
setw -g window-status-bell-style 'fg=yellow bg=red bold'
|
||||||
|
|
||||||
|
# messages
|
||||||
|
set -g message-style 'fg=yellow bg=red bold'
|
||||||
Loading…
x
Reference in New Issue
Block a user