Compare commits
2 Commits
08d6c8439d
...
2812373aa8
| Author | SHA1 | Date | |
|---|---|---|---|
| 2812373aa8 | |||
| 8b607377fc |
284
.config/hypr/hyprland.conf
Normal file
284
.config/hypr/hyprland.conf
Normal file
@@ -0,0 +1,284 @@
|
|||||||
|
|
||||||
|
# #######################################################################################
|
||||||
|
# AUTOGENERATED HYPR CONFIG.
|
||||||
|
# PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
|
||||||
|
# OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
|
||||||
|
# #######################################################################################
|
||||||
|
|
||||||
|
autogenerated = 0 # remove this line to remove the warning
|
||||||
|
|
||||||
|
# This is an example Hyprland config file.
|
||||||
|
# Refer to the wiki for more information.
|
||||||
|
# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/
|
||||||
|
|
||||||
|
# Please note not all available settings / options are set here.
|
||||||
|
# For a full list, see the wiki
|
||||||
|
|
||||||
|
# You can split this configuration into multiple files
|
||||||
|
# Create your files separately and then link them to this file like this:
|
||||||
|
# source = ~/.config/hypr/myColors.conf
|
||||||
|
|
||||||
|
|
||||||
|
################
|
||||||
|
### MONITORS ###
|
||||||
|
################
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||||
|
monitor=DP-6,preferred,0x0,auto
|
||||||
|
monitor=eDP-1,preferred,0x2160,1.8
|
||||||
|
|
||||||
|
|
||||||
|
###################
|
||||||
|
### MY PROGRAMS ###
|
||||||
|
###################
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||||
|
|
||||||
|
# Set programs that you use
|
||||||
|
$terminal = footclient
|
||||||
|
$fileManager = dolphin
|
||||||
|
$menu = wofi --show drun
|
||||||
|
|
||||||
|
|
||||||
|
#################
|
||||||
|
### AUTOSTART ###
|
||||||
|
#################
|
||||||
|
|
||||||
|
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||||
|
# Or execute your favorite apps at launch like this:
|
||||||
|
exec-once = waybar
|
||||||
|
exec-once = foot --server
|
||||||
|
exec-once = nextcloud-desktop-client.nextcoud
|
||||||
|
# exec-once = $terminal
|
||||||
|
# exec-once = nm-applet &
|
||||||
|
# exec-once = waybar & hyprpaper & firefox
|
||||||
|
|
||||||
|
|
||||||
|
#############################
|
||||||
|
### ENVIRONMENT VARIABLES ###
|
||||||
|
#############################
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Environment-variables/
|
||||||
|
|
||||||
|
env = XCURSOR_SIZE,24
|
||||||
|
env = HYPRCURSOR_SIZE,24
|
||||||
|
|
||||||
|
|
||||||
|
#####################
|
||||||
|
### LOOK AND FEEL ###
|
||||||
|
#####################
|
||||||
|
|
||||||
|
# Refer to https://wiki.hyprland.org/Configuring/Variables/
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#general
|
||||||
|
general {
|
||||||
|
gaps_in = 2
|
||||||
|
gaps_out = 2
|
||||||
|
|
||||||
|
border_size = 1
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
|
||||||
|
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
||||||
|
col.inactive_border = rgba(595959aa)
|
||||||
|
|
||||||
|
# Set to true enable resizing windows by clicking and dragging on borders and gaps
|
||||||
|
resize_on_border = true
|
||||||
|
|
||||||
|
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||||
|
allow_tearing = false
|
||||||
|
|
||||||
|
layout = dwindle
|
||||||
|
}
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
||||||
|
decoration {
|
||||||
|
rounding = 10
|
||||||
|
|
||||||
|
# Change transparency of focused and unfocused windows
|
||||||
|
active_opacity = 1.0
|
||||||
|
inactive_opacity = 1.0
|
||||||
|
|
||||||
|
drop_shadow = true
|
||||||
|
shadow_range = 4
|
||||||
|
shadow_render_power = 3
|
||||||
|
col.shadow = rgba(1a1a1aee)
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
||||||
|
blur {
|
||||||
|
enabled = true
|
||||||
|
size = 3
|
||||||
|
passes = 1
|
||||||
|
|
||||||
|
vibrancy = 0.1696
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#animations
|
||||||
|
animations {
|
||||||
|
enabled = true
|
||||||
|
|
||||||
|
# Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||||
|
|
||||||
|
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||||
|
|
||||||
|
animation = windows, 1, 7, myBezier
|
||||||
|
animation = windowsOut, 1, 7, default, popin 80%
|
||||||
|
animation = border, 1, 10, default
|
||||||
|
animation = borderangle, 1, 8, default
|
||||||
|
animation = fade, 1, 7, default
|
||||||
|
animation = workspaces, 1, 6, default
|
||||||
|
}
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||||
|
dwindle {
|
||||||
|
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||||
|
preserve_split = true # You probably want this
|
||||||
|
}
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||||
|
master {
|
||||||
|
new_status = master
|
||||||
|
}
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#misc
|
||||||
|
misc {
|
||||||
|
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||||
|
disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#############
|
||||||
|
### INPUT ###
|
||||||
|
#############
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#input
|
||||||
|
input {
|
||||||
|
kb_layout = us
|
||||||
|
kb_variant =
|
||||||
|
kb_model =
|
||||||
|
kb_options =
|
||||||
|
kb_rules =
|
||||||
|
|
||||||
|
follow_mouse = 1
|
||||||
|
|
||||||
|
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||||
|
|
||||||
|
touchpad {
|
||||||
|
natural_scroll = false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
||||||
|
gestures {
|
||||||
|
workspace_swipe = true
|
||||||
|
}
|
||||||
|
|
||||||
|
# Example per-device config
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
|
||||||
|
device {
|
||||||
|
name = epic-mouse-v1
|
||||||
|
sensitivity = -0.5
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
####################
|
||||||
|
### KEYBINDINGSS ###
|
||||||
|
####################
|
||||||
|
|
||||||
|
# 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
|
||||||
|
bind = $mainMod, RETURN, exec, $terminal
|
||||||
|
bind = $mainMod, R, exec, $menu
|
||||||
|
bind = $mainMod, E, exec, $fileManager
|
||||||
|
|
||||||
|
#bind = $mainMod, J, togglesplit, # dwindle
|
||||||
|
bind = $mainMod, W, togglegroup,
|
||||||
|
bind = $mainMod SHIFT, SPACE, togglefloating,
|
||||||
|
bind = $mainMod SHIFT, Q, killactive,
|
||||||
|
bind = $mainMod SHIFT, M, exit,
|
||||||
|
|
||||||
|
# Move focus with hjkl
|
||||||
|
bind = $mainMod, h, movefocus, l
|
||||||
|
bind = $mainMod, l, movefocus, r
|
||||||
|
bind = $mainMod, k, movefocus, u
|
||||||
|
bind = $mainMod, j, movefocus, d
|
||||||
|
|
||||||
|
# Move focus with hjkl
|
||||||
|
bind = $mainMod SHIFT, h, movewindoworgroup, l
|
||||||
|
bind = $mainMod SHIFT, l, movewindoworgroup, r
|
||||||
|
bind = $mainMod SHIFT, k, movewindoworgroup, u
|
||||||
|
bind = $mainMod SHIFT, j, movewindoworgroup, d
|
||||||
|
|
||||||
|
# move inside of grouped windows
|
||||||
|
bind = $mainMod, n, changegroupactive, f
|
||||||
|
bind = $mainMod, p, changegroupactive, b
|
||||||
|
|
||||||
|
|
||||||
|
# Move focus with mainMod + arrow keys
|
||||||
|
bind = $mainMod, left, movefocus, l
|
||||||
|
bind = $mainMod, right, movefocus, r
|
||||||
|
bind = $mainMod, up, movefocus, u
|
||||||
|
bind = $mainMod, down, movefocus, d
|
||||||
|
|
||||||
|
|
||||||
|
# Switch workspaces with mainMod + [0-9]
|
||||||
|
bind = $mainMod, 1, workspace, 1
|
||||||
|
bind = $mainMod, 2, workspace, 2
|
||||||
|
bind = $mainMod, 3, workspace, 3
|
||||||
|
bind = $mainMod, 4, workspace, 4
|
||||||
|
bind = $mainMod, 5, workspace, 5
|
||||||
|
bind = $mainMod, 6, workspace, 6
|
||||||
|
bind = $mainMod, 7, workspace, 7
|
||||||
|
bind = $mainMod, 8, workspace, 8
|
||||||
|
bind = $mainMod, 9, workspace, 9
|
||||||
|
bind = $mainMod, 0, workspace, 10
|
||||||
|
|
||||||
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||||
|
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||||
|
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||||
|
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||||
|
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||||
|
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||||
|
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||||
|
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||||
|
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||||
|
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||||
|
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||||
|
|
||||||
|
bind = $mainMod, F, fullscreen
|
||||||
|
|
||||||
|
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||||
|
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||||
|
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||||
|
bindel = ,XF86MonBrightnessDown, exec, brightnessctl set 5%-
|
||||||
|
bindel = ,XF86MonBrightnessUp ,exec ,brightnessctl set 5%+
|
||||||
|
|
||||||
|
# Example special workspace (scratchpad)
|
||||||
|
bind = $mainMod, MINUS, togglespecialworkspace, magic
|
||||||
|
bind = $mainMod SHIFT, MINUS, movetoworkspace, special:magic
|
||||||
|
|
||||||
|
# Scroll through existing workspaces with mainMod + scroll
|
||||||
|
bind = $mainMod, mouse_down, workspace, e+1
|
||||||
|
bind = $mainMod, mouse_up, workspace, e-1
|
||||||
|
|
||||||
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||||
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
|
|
||||||
|
|
||||||
|
##############################
|
||||||
|
### WINDOWS AND WORKSPACES ###
|
||||||
|
##############################
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
||||||
|
|
||||||
|
# Example windowrule v1
|
||||||
|
# windowrule = float, ^(kitty)$
|
||||||
|
|
||||||
|
# Example windowrule v2
|
||||||
|
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||||
|
|
||||||
|
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
|
||||||
@@ -1,4 +1,6 @@
|
|||||||
font_family 'JetBrainsMono NF'
|
#font_family family='JetBrainsMono Nerd Font Mono'
|
||||||
|
#font_family family='JetBrainsMono'
|
||||||
|
font_family family='JetBrainsMonoNFM-Regular'
|
||||||
font_size 11
|
font_size 11
|
||||||
|
|
||||||
#text_composition_strategy legacy
|
#text_composition_strategy legacy
|
||||||
@@ -10,3 +12,6 @@ shell_integration no-cursor
|
|||||||
cursor_trail_decay 0.01 0.15
|
cursor_trail_decay 0.01 0.15
|
||||||
cursor_shape block
|
cursor_shape block
|
||||||
cursor_blink true
|
cursor_blink true
|
||||||
|
|
||||||
|
linux_display_server wayland
|
||||||
|
wayland_enable_ime yes
|
||||||
|
|||||||
@@ -24,5 +24,5 @@ swaync &
|
|||||||
dex -a &
|
dex -a &
|
||||||
|
|
||||||
# screen record or share
|
# screen record or share
|
||||||
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=wlroots DISPLAY
|
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=wlroots
|
||||||
/usr/lib/xdg-desktop-portal-wlr &
|
/usr/lib/xdg-desktop-portal-wlr &
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# More option see https://github.com/DreamMaoMao/mango/wiki/
|
# More option see https://github.com/DreamMaoMao/mango/wiki/
|
||||||
|
|
||||||
# Window effect
|
# Window effect
|
||||||
blur=0
|
blur=1
|
||||||
blur_layer=0
|
blur_layer=0
|
||||||
blur_optimized=1
|
blur_optimized=1
|
||||||
blur_params_num_passes = 2
|
blur_params_num_passes = 2
|
||||||
@@ -11,10 +11,10 @@ blur_params_brightness = 0.9
|
|||||||
blur_params_contrast = 0.9
|
blur_params_contrast = 0.9
|
||||||
blur_params_saturation = 1.2
|
blur_params_saturation = 1.2
|
||||||
|
|
||||||
shadows = 0
|
shadows = 1
|
||||||
layer_shadows = 0
|
layer_shadows = 0
|
||||||
shadow_only_floating = 1
|
shadow_only_floating = 1
|
||||||
shadows_size = 10
|
shadows_size = 5
|
||||||
shadows_blur = 15
|
shadows_blur = 15
|
||||||
shadows_position_x = 0
|
shadows_position_x = 0
|
||||||
shadows_position_y = 0
|
shadows_position_y = 0
|
||||||
@@ -38,10 +38,10 @@ zoom_initial_ratio=0.3
|
|||||||
zoom_end_ratio=0.8
|
zoom_end_ratio=0.8
|
||||||
fadein_begin_opacity=0.5
|
fadein_begin_opacity=0.5
|
||||||
fadeout_begin_opacity=0.8
|
fadeout_begin_opacity=0.8
|
||||||
animation_duration_move=500
|
animation_duration_move=200
|
||||||
animation_duration_open=400
|
animation_duration_open=200
|
||||||
animation_duration_tag=350
|
animation_duration_tag=250
|
||||||
animation_duration_close=800
|
animation_duration_close=200
|
||||||
animation_curve_open=0.46,1.0,0.29,1
|
animation_curve_open=0.46,1.0,0.29,1
|
||||||
animation_curve_move=0.46,1.0,0.29,1
|
animation_curve_move=0.46,1.0,0.29,1
|
||||||
animation_curve_tag=0.46,1.0,0.29,1
|
animation_curve_tag=0.46,1.0,0.29,1
|
||||||
@@ -112,7 +112,7 @@ gappoh=10
|
|||||||
gappov=10
|
gappov=10
|
||||||
scratchpad_width_ratio=0.8
|
scratchpad_width_ratio=0.8
|
||||||
scratchpad_height_ratio=0.9
|
scratchpad_height_ratio=0.9
|
||||||
borderpx=4
|
borderpx=2
|
||||||
rootcolor=0x201b14ff
|
rootcolor=0x201b14ff
|
||||||
bordercolor=0x444444ff
|
bordercolor=0x444444ff
|
||||||
focuscolor=0xc9b890ff
|
focuscolor=0xc9b890ff
|
||||||
@@ -137,10 +137,12 @@ tagrule=id:9,layout_name:tile
|
|||||||
# Key Bindings
|
# Key Bindings
|
||||||
# key name refer to `xev` or `wev` command output,
|
# key name refer to `xev` or `wev` command output,
|
||||||
# mod keys name: super,ctrl,alt,shift,none
|
# mod keys name: super,ctrl,alt,shift,none
|
||||||
|
bind=SUPER,period,incnmaster,+1
|
||||||
|
bind=SUPER,comma,incnmaster,-1
|
||||||
|
|
||||||
# reload config
|
# reload config
|
||||||
bind=SUPER+SHIFT,r,reload_config
|
bind=SUPER,c,reload_config
|
||||||
bind=SUPER+SHIFT,r,spawn_shell, notify-send 'Reloading Config!'
|
bind=SUPER,c,spawn_shell, notify-send 'Reloading Config!'
|
||||||
|
|
||||||
# menu and terminal
|
# menu and terminal
|
||||||
bind=SUPER,d,spawn,wofi --show drun -GI
|
bind=SUPER,d,spawn,wofi --show drun -GI
|
||||||
@@ -173,7 +175,7 @@ bind=SUPER+SHIFT,l,exchange_client,right
|
|||||||
# switch window status
|
# switch window status
|
||||||
bind=SUPER,g,toggleglobal,
|
bind=SUPER,g,toggleglobal,
|
||||||
bind=ALT,Tab,toggleoverview,
|
bind=ALT,Tab,toggleoverview,
|
||||||
bind=SUPER,backslash,togglefloating,
|
bind=SUPER+SHIFT,space,togglefloating,
|
||||||
#bind=ALT,a,togglemaxmizescreen,
|
#bind=ALT,a,togglemaxmizescreen,
|
||||||
bind=SUPER,f,togglefullscreen,
|
bind=SUPER,f,togglefullscreen,
|
||||||
#bind=ALT+SHIFT,f,togglefakefullscreen,
|
#bind=ALT+SHIFT,f,togglefakefullscreen,
|
||||||
@@ -200,16 +202,16 @@ bind=SUPER,s,setlayout,scroller
|
|||||||
bind=SUPER,a,togglegaps
|
bind=SUPER,a,togglegaps
|
||||||
|
|
||||||
# tag switch
|
# tag switch
|
||||||
bind=SUPER,1,view,1,0
|
bind=SUPER,1,comboview,1,0
|
||||||
bind=SUPER,2,view,2,0
|
bind=SUPER,2,comboview,2,0
|
||||||
bind=SUPER,3,view,3,0
|
bind=SUPER,3,comboview,3,0
|
||||||
bind=SUPER,4,view,4,0
|
bind=SUPER,4,comboview,4,0
|
||||||
bind=SUPER,5,view,5,0
|
bind=SUPER,5,comboview,5,0
|
||||||
bind=SUPER,6,view,6,0
|
bind=SUPER,6,comboview,6,0
|
||||||
bind=SUPER,7,view,7,0
|
bind=SUPER,7,comboview,7,0
|
||||||
bind=SUPER,8,view,8,0
|
bind=SUPER,8,comboview,8,0
|
||||||
bind=SUPER,9,view,9,0
|
bind=SUPER,9,comboview,9,0
|
||||||
bind=SUPER,0,view,0,0
|
bind=SUPER,0,comboview,0,0
|
||||||
|
|
||||||
# tag: move client to the tag and focus it
|
# tag: move client to the tag and focus it
|
||||||
# tagsilent: move client to the tag and not focus it
|
# tagsilent: move client to the tag and not focus it
|
||||||
@@ -243,10 +245,10 @@ bind=CTRL+SHIFT,Left,movewin,-50,+0
|
|||||||
bind=CTRL+SHIFT,Right,movewin,+50,+0
|
bind=CTRL+SHIFT,Right,movewin,+50,+0
|
||||||
|
|
||||||
# resizewin
|
# resizewin
|
||||||
bind=CTRL+ALT,Up,resizewin,+0,-50
|
bind=SUPER,Up,resizewin,+0,-50
|
||||||
bind=CTRL+ALT,Down,resizewin,+0,+50
|
bind=SUPER,Down,resizewin,+0,+50
|
||||||
bind=CTRL+ALT,Left,resizewin,-50,+0
|
bind=SUPER,Left,resizewin,-50,+0
|
||||||
bind=CTRL+ALT,Right,resizewin,+50,+0
|
bind=SUPER,Right,resizewin,+50,+0
|
||||||
|
|
||||||
# Mouse Button Bindings
|
# Mouse Button Bindings
|
||||||
# NONE mode key only work in ov mode
|
# NONE mode key only work in ov mode
|
||||||
@@ -266,7 +268,6 @@ mousebind=SUPER,btn_right,moveresize,curresize
|
|||||||
layerrule=animation_type_open:zoom,layer_name:wofi
|
layerrule=animation_type_open:zoom,layer_name:wofi
|
||||||
layerrule=animation_type_close:zoom,layer_name:wofi
|
layerrule=animation_type_close:zoom,layer_name:wofi
|
||||||
|
|
||||||
|
|
||||||
# Volume control
|
# Volume control
|
||||||
bind=none,XF86AudioRaiseVolume,spawn_shell,pactl set-sink-volume @DEFAULT_SINK@ +5% && pkill -RTMIN+10 i3blocks;,
|
bind=none,XF86AudioRaiseVolume,spawn_shell,pactl set-sink-volume @DEFAULT_SINK@ +5% && pkill -RTMIN+10 i3blocks;,
|
||||||
bind=none,XF86AudioLowerVolume,spawn_shell,pactl set-sink-volume @DEFAULT_SINK@ -5% && pkill -RTMIN+10 i3blocks;,
|
bind=none,XF86AudioLowerVolume,spawn_shell,pactl set-sink-volume @DEFAULT_SINK@ -5% && pkill -RTMIN+10 i3blocks;,
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ require("mason").setup() -- used for automatically enabling lsp and coq
|
|||||||
require("mason-lspconfig").setup()
|
require("mason-lspconfig").setup()
|
||||||
|
|
||||||
-- Settings
|
-- Settings
|
||||||
vim.cmd('source ~/.config/nvim/settings.vim')
|
--vim.cmd('source ~/.config/nvim/settings.vim')
|
||||||
|
|
||||||
-- colorscheme
|
-- colorscheme
|
||||||
vim.o.termguicolors = true
|
vim.o.termguicolors = true
|
||||||
@@ -40,6 +40,27 @@ vim.opt.winborder = 'rounded'
|
|||||||
--vim.cmd("colorscheme gruvbox ")
|
--vim.cmd("colorscheme gruvbox ")
|
||||||
--vim.cmd("colorscheme retrobox")
|
--vim.cmd("colorscheme retrobox")
|
||||||
|
|
||||||
|
vim.cmd("set nocompatible")
|
||||||
|
vim.cmd("syntax on")
|
||||||
|
vim.cmd("filetype plugin indent on")
|
||||||
|
vim.cmd("set number")
|
||||||
|
vim.cmd("set relativenumber")
|
||||||
|
vim.cmd("set expandtab")
|
||||||
|
vim.cmd("set shiftwidth=4")
|
||||||
|
vim.cmd("set softtabstop=4")
|
||||||
|
vim.cmd("set tabstop=4")
|
||||||
|
vim.cmd("set smartindent")
|
||||||
|
vim.cmd("set backspace=indent,eol,start")
|
||||||
|
vim.cmd("set colorcolumn=81")
|
||||||
|
vim.cmd("set textwidth=80")
|
||||||
|
vim.cmd("set wrap")
|
||||||
|
vim.cmd("set linebreak")
|
||||||
|
vim.cmd("noswapfile")
|
||||||
|
|
||||||
|
vim.cmd("au FileType python set fileformat=unix encoding=utf-8")
|
||||||
|
vim.cmd("au FileType markdown,tex set spell spelllang=en_us")
|
||||||
|
|
||||||
|
|
||||||
-- keymaps
|
-- keymaps
|
||||||
vim.keymap.set('n', '<leader>/', ':nohlsearch<CR>')
|
vim.keymap.set('n', '<leader>/', ':nohlsearch<CR>')
|
||||||
vim.keymap.set('n', '<leader>b', ':buffers<CR>')
|
vim.keymap.set('n', '<leader>b', ':buffers<CR>')
|
||||||
|
|||||||
@@ -1,22 +1,20 @@
|
|||||||
{
|
{
|
||||||
"async.vim": { "branch": "master", "commit": "2082d13bb195f3203d41a308b89417426a7deca1" },
|
|
||||||
"auto-save.nvim": { "branch": "main", "commit": "37c82fd548e3f5ffc2d9d020a65dac1044584f44" },
|
"auto-save.nvim": { "branch": "main", "commit": "37c82fd548e3f5ffc2d9d020a65dac1044584f44" },
|
||||||
"black-metal-theme-neovim": { "branch": "main", "commit": "6d0207871387077f40d5396ab1ae90520e688d36" },
|
"black-metal-theme-neovim": { "branch": "main", "commit": "6d0207871387077f40d5396ab1ae90520e688d36" },
|
||||||
"conform.nvim": { "branch": "master", "commit": "9d859cbfbde7a1bd1770e7c97aef30ec5a237a71" },
|
"conform.nvim": { "branch": "master", "commit": "9d859cbfbde7a1bd1770e7c97aef30ec5a237a71" },
|
||||||
"copilot.vim": { "branch": "release", "commit": "da369d90cfd6c396b1d0ec259836a1c7222fb2ea" },
|
"copilot.vim": { "branch": "release", "commit": "da369d90cfd6c396b1d0ec259836a1c7222fb2ea" },
|
||||||
"coq_nvim": { "branch": "coq", "commit": "d2aeb3221cb46bfd1c51afd1b247d092c52ec0d6" },
|
"coq_nvim": { "branch": "coq", "commit": "d2aeb3221cb46bfd1c51afd1b247d092c52ec0d6" },
|
||||||
"harpoon": { "branch": "master", "commit": "1bc17e3e42ea3c46b33c0bbad6a880792692a1b3" },
|
"harpoon": { "branch": "master", "commit": "1bc17e3e42ea3c46b33c0bbad6a880792692a1b3" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "59334064f8604ca073791c25dcc5c9698865406e" },
|
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
|
||||||
"lualine.nvim": { "branch": "master", "commit": "b8c23159c0161f4b89196f74ee3a6d02cdc3a955" },
|
"lualine.nvim": { "branch": "master", "commit": "b431d228b7bbcdaea818bdc3e25b8cdbe861f056" },
|
||||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "6bdb14f230de0904229ec367b410fb817e59b072" },
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "4d0e5b49363cac187326998b96aa6a2884e0e89b" },
|
||||||
"mason.nvim": { "branch": "main", "commit": "ad7146aa61dcaeb54fa900144d768f040090bff0" },
|
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "e688b486fe9291f151eae7e5c0b5a5c4ef980847" },
|
"nvim-lspconfig": { "branch": "master", "commit": "54617a18f4cf46f0c2f6d024fa6feb7515fe036d" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
|
"nvim-treesitter": { "branch": "master", "commit": "92d2501d698e0fe855bd222540f9648890fab6c7" },
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "b8221e42cf7287c4dcde81f232f58d7b947c210d" },
|
"nvim-web-devicons": { "branch": "master", "commit": "19d257cf889f79f4022163c3fbb5e08639077bd8" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
"plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
|
||||||
"render-markdown.nvim": { "branch": "main", "commit": "ea3678daff66656a9e1c20914d204b7c841c5030" },
|
"render-markdown.nvim": { "branch": "main", "commit": "fc05fb7c56795f191b6800799a2ec6ea325ba715" },
|
||||||
"telescope.nvim": { "branch": "master", "commit": "776b509f80dd49d8205b9b0d94485568236d1192" },
|
"telescope.nvim": { "branch": "master", "commit": "776b509f80dd49d8205b9b0d94485568236d1192" },
|
||||||
"vim-arsync": { "branch": "master", "commit": "dd5fd93182aafb67ede2ef465f379610980b52d3" },
|
"vim-tmux-navigator": { "branch": "master", "commit": "97e58f2b3b4f8fd30ce149302f10202f363cc361" },
|
||||||
"vim-tmux-navigator": { "branch": "master", "commit": "c45243dc1f32ac6bcf6068e5300f3b2b237e576a" },
|
|
||||||
"zen-mode.nvim": { "branch": "main", "commit": "dfcb72a2dfeedc5342b2ee3a68c83243d682ba3c" }
|
"zen-mode.nvim": { "branch": "main", "commit": "dfcb72a2dfeedc5342b2ee3a68c83243d682ba3c" }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,22 +0,0 @@
|
|||||||
return {
|
|
||||||
'KenN7/vim-arsync',
|
|
||||||
dependencies = { 'prabirshrestha/async.vim' },
|
|
||||||
config = function()
|
|
||||||
end
|
|
||||||
}
|
|
||||||
|
|
||||||
--[[
|
|
||||||
--Create a .vim-arsync file on the root of your project that contains the following:
|
|
||||||
remote_host example.com
|
|
||||||
remote_user john
|
|
||||||
remote_port 22
|
|
||||||
remote_passwd secret
|
|
||||||
remote_path ~/temp/
|
|
||||||
local_path /home/ken/temp/vuetest/
|
|
||||||
ignore_path ["build/","test/"]
|
|
||||||
ignore_dotfiles 1
|
|
||||||
auto_sync_up 0
|
|
||||||
remote_or_local remote
|
|
||||||
sleep_before_sync 0
|
|
||||||
|
|
||||||
--]]
|
|
||||||
@@ -10,6 +10,11 @@ set tabstop=4
|
|||||||
set smartindent
|
set smartindent
|
||||||
set backspace=indent,eol,start
|
set backspace=indent,eol,start
|
||||||
|
|
||||||
|
set colorcolumn=81
|
||||||
|
"hi ColorColumn ctermbg=lightgrey guibg=lightgrey
|
||||||
|
set textwidth=80
|
||||||
|
set wrap
|
||||||
|
set linebreak
|
||||||
|
|
||||||
set autoread " Set to auto read when a file is changed from the outside
|
set autoread " Set to auto read when a file is changed from the outside
|
||||||
set path+=**
|
set path+=**
|
||||||
@@ -20,14 +25,10 @@ set wildoptions=pum
|
|||||||
set wildignore+=*/tmp/*,*.so,*.swp,*.zip
|
set wildignore+=*/tmp/*,*.so,*.swp,*.zip
|
||||||
set wildignore+=*\\tmp\\*,*.exe
|
set wildignore+=*\\tmp\\*,*.exe
|
||||||
|
|
||||||
set number
|
|
||||||
set number ruler
|
set number ruler
|
||||||
set showmatch
|
set showmatch
|
||||||
set ruler
|
|
||||||
set wrap
|
|
||||||
set showbreak=↳\ \
|
set showbreak=↳\ \
|
||||||
set hidden
|
set hidden
|
||||||
set backspace=indent,eol,start
|
|
||||||
set hlsearch
|
set hlsearch
|
||||||
set noswapfile
|
set noswapfile
|
||||||
set mouse= "remove mouse
|
set mouse= "remove mouse
|
||||||
@@ -39,7 +40,6 @@ set laststatus=1
|
|||||||
set t_Co=256
|
set t_Co=256
|
||||||
let &t_ut=''
|
let &t_ut=''
|
||||||
|
|
||||||
set colorcolumn=81
|
|
||||||
"hi ColorColumn ctermbg=lightgrey guibg=lightgrey
|
"hi ColorColumn ctermbg=lightgrey guibg=lightgrey
|
||||||
|
|
||||||
" Show bad whitespace in an obvious but not obnoxious color
|
" Show bad whitespace in an obvious but not obnoxious color
|
||||||
|
|||||||
@@ -1,2 +1,10 @@
|
|||||||
Generative
|
Generative
|
||||||
ansible
|
ansible
|
||||||
|
CXI
|
||||||
|
HPLC
|
||||||
|
SED
|
||||||
|
brokhorst
|
||||||
|
MOXA
|
||||||
|
CONFIG
|
||||||
|
QRIX
|
||||||
|
EPS
|
||||||
|
|||||||
Binary file not shown.
@@ -1,13 +1,13 @@
|
|||||||
font 'JetBrainsMono NF' 10
|
font 'JetBrainsMono' 10
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
#set $mod Mod1
|
#set $mod Mod1
|
||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
|
|
||||||
set $term kitty -1
|
set $term kitty
|
||||||
#set $term ghostty
|
#set $term ghostty
|
||||||
|
|
||||||
set $menu wofi -S drun -G
|
set $menu wofi -S drun -GI
|
||||||
|
|
||||||
set $left h
|
set $left h
|
||||||
set $down j
|
set $down j
|
||||||
@@ -18,11 +18,12 @@ set $right l
|
|||||||
include ~/.config/sway/config.d/*
|
include ~/.config/sway/config.d/*
|
||||||
|
|
||||||
### Idle configuration
|
### Idle configuration
|
||||||
exec swayidle -w \
|
#exec swayidle -w \
|
||||||
timeout 300 'swaylock -f -c 000000' \
|
# timeout 300 'swaylock -f -c 000000' \
|
||||||
timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
||||||
before-sleep 'playerctl pause; swaylock -f -c 000000'
|
# before-sleep 'playerctl pause; swaylock -f -c 000000'
|
||||||
|
|
||||||
|
output HDMI-A-3 mode 3440x1440
|
||||||
|
|
||||||
#seat seat0 xcursor_theme Adwaita 25
|
#seat seat0 xcursor_theme Adwaita 25
|
||||||
|
|
||||||
@@ -32,6 +33,10 @@ exec dex -a
|
|||||||
exec nohup swaync
|
exec nohup swaync
|
||||||
exec nohup sway-audio-idle-inhibit
|
exec nohup sway-audio-idle-inhibit
|
||||||
exec nohup waybar
|
exec nohup waybar
|
||||||
|
exec nohup nm-applet
|
||||||
|
exec nohup shikane
|
||||||
|
exec nohup flatpak run com.github.wwmm.easyeffects -w
|
||||||
|
|
||||||
exec wl-paste -t text --watch clipman store --no-persist
|
exec wl-paste -t text --watch clipman store --no-persist
|
||||||
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=wlroots DISPLAY
|
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=wlroots DISPLAY
|
||||||
exec /usr/lib/xdg-desktop-portal-wlr
|
exec /usr/lib/xdg-desktop-portal-wlr
|
||||||
|
|||||||
@@ -113,10 +113,10 @@ mode "resize" {
|
|||||||
|
|
||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+r mode "resize"
|
||||||
bindsym $mod+Shift+s sticky toggle
|
bindsym $mod+Shift+s sticky toggle
|
||||||
#bindsym $mod+Shift+o exec 'playerctl pause && swaylock -c 0x0000'
|
bindsym $mod+m exec 'playerctl pause && swaylock -c 0x0000'
|
||||||
|
|
||||||
# Toggle laptop display
|
# Toggle laptop display
|
||||||
bindsym $mod+m output $laptop toggle
|
bindsym $mod+Shift+m output $laptop toggle
|
||||||
|
|
||||||
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% \
|
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% \
|
||||||
&& pkill -RTMIN+10 i3blocks;
|
&& pkill -RTMIN+10 i3blocks;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// -*- mode: jsonc -*-
|
// -*- mode: jsonc -*-
|
||||||
{
|
{
|
||||||
// "layer": "top", // Waybar at top layer
|
// "layer": "top", // Waybar at top layer
|
||||||
// "position": "bottom", // Waybar position (top|bottom|left|right)
|
"position": "top", // Waybar position (top|bottom|left|right)
|
||||||
//"height": 10, // Waybar height (to be removed for auto height)
|
//"height": 10, // Waybar height (to be removed for auto height)
|
||||||
// "width": 1280, // Waybar width
|
// "width": 1280, // Waybar width
|
||||||
"spacing": 0, // Gaps between modules (4px)
|
"spacing": 0, // Gaps between modules (4px)
|
||||||
@@ -16,10 +16,10 @@
|
|||||||
//"sway/window"
|
//"sway/window"
|
||||||
//],
|
//],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"mpd",
|
//"mpd",
|
||||||
"custom/audio_idle_inhibitor",
|
//"custom/audio_idle_inhibitor",
|
||||||
"pulseaudio",
|
//"pulseaudio",
|
||||||
"network",
|
//"network",
|
||||||
//"power-profiles-daemon",
|
//"power-profiles-daemon",
|
||||||
//"cpu",
|
//"cpu",
|
||||||
//"memory",
|
//"memory",
|
||||||
@@ -27,10 +27,10 @@
|
|||||||
//"backlight",
|
//"backlight",
|
||||||
//"keyboard-state",
|
//"keyboard-state",
|
||||||
//"sway/language",
|
//"sway/language",
|
||||||
"battery",
|
//"battery",
|
||||||
//"battery#bat2",
|
//"battery#bat2",
|
||||||
"clock"
|
"clock",
|
||||||
//"tray"
|
"tray"
|
||||||
//"custom/power"
|
//"custom/power"
|
||||||
],
|
],
|
||||||
// Modules configuration
|
// Modules configuration
|
||||||
|
|||||||
@@ -1,13 +1,15 @@
|
|||||||
* {
|
* {
|
||||||
/* `otf-font-awesome` is required to be installed for icons */
|
/* `otf-font-awesome` is required to be installed for icons */
|
||||||
/*font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif; */
|
/*font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif; */
|
||||||
font-family: "JetBrainsMono NF";
|
font-family: "JetBrainsMonoNFM-Regular";
|
||||||
font-size: 13px;
|
font-weight: bold;
|
||||||
|
font-size: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
background-color: rgba(43, 48, 59, 0.5);
|
/*background-color: rgba(43, 48, 59, 0.5);*/
|
||||||
border-bottom: 3px solid rgba(100, 114, 125, 0.5);
|
background-color: rgba(0, 0, 0, 1);
|
||||||
|
/*border-bottom: 3px solid rgba(100, 114, 125, 0.5);*/
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
transition-property: background-color;
|
transition-property: background-color;
|
||||||
transition-duration: .5s;
|
transition-duration: .5s;
|
||||||
@@ -35,7 +37,7 @@ window#waybar.chromium {
|
|||||||
|
|
||||||
button {
|
button {
|
||||||
/* Use box-shadow instead of border so the text isn't offset */
|
/* Use box-shadow instead of border so the text isn't offset */
|
||||||
box-shadow: inset 0 -3px transparent;
|
/*box-shadow: inset 0 -3px transparent;*/
|
||||||
/* Avoid rounded borders under each button name */
|
/* Avoid rounded borders under each button name */
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user