Compare commits
19 Commits
0134b654e9
...
hyprland
| Author | SHA1 | Date | |
|---|---|---|---|
| 6c3100eab7 | |||
| 0cc4d816ec | |||
| ddaa4f1678 | |||
| 548301d3a9 | |||
| 9c829b888f | |||
| b641cc906d | |||
| 273dae2fda | |||
| e40bd1bc73 | |||
| e0d7173f5f | |||
| 706ebf89a4 | |||
| ed8606cedc | |||
| 2e15fe1ddc | |||
| 3e2970ee70 | |||
| 94e7858450 | |||
| 3d34eb5fb3 | |||
| 0d19a7953f | |||
| 1ecaacc50c | |||
| 1895a40420 | |||
| 681dd4cd04 |
@@ -1,563 +0,0 @@
|
||||
[[keyboard.bindings]]
|
||||
action = "Paste"
|
||||
key = "V"
|
||||
mods = "Control|Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "Copy"
|
||||
key = "C"
|
||||
mods = "Control|Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "Paste"
|
||||
key = "Paste"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "Copy"
|
||||
key = "Copy"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "Quit"
|
||||
key = "Q"
|
||||
mods = "Command"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "Quit"
|
||||
key = "W"
|
||||
mods = "Command"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "PasteSelection"
|
||||
key = "Insert"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ResetFontSize"
|
||||
key = "Key0"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "IncreaseFontSize"
|
||||
key = "Equals"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001BOH"
|
||||
key = "Home"
|
||||
mode = "AppCursor"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[H"
|
||||
key = "Home"
|
||||
mode = "~AppCursor"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001BOF"
|
||||
key = "End"
|
||||
mode = "AppCursor"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[F"
|
||||
key = "End"
|
||||
mode = "~AppCursor"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[5;2~"
|
||||
key = "PageUp"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[5;5~"
|
||||
key = "PageUp"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[5~"
|
||||
key = "PageUp"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[6;2~"
|
||||
key = "PageDown"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[6;5~"
|
||||
key = "PageDown"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[6~"
|
||||
key = "PageDown"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[Z"
|
||||
key = "Tab"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u007F"
|
||||
key = "Back"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B\u007F"
|
||||
key = "Back"
|
||||
mods = "Alt"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[2~"
|
||||
key = "Insert"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[3~"
|
||||
key = "Delete"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;2D"
|
||||
key = "Left"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;5D"
|
||||
key = "Left"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;3D"
|
||||
key = "Left"
|
||||
mods = "Alt"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[D"
|
||||
key = "Left"
|
||||
mode = "~AppCursor"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001BOD"
|
||||
key = "Left"
|
||||
mode = "AppCursor"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;2C"
|
||||
key = "Right"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;5C"
|
||||
key = "Right"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;3C"
|
||||
key = "Right"
|
||||
mods = "Alt"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[C"
|
||||
key = "Right"
|
||||
mode = "~AppCursor"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001BOC"
|
||||
key = "Right"
|
||||
mode = "AppCursor"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;2A"
|
||||
key = "Up"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;5A"
|
||||
key = "Up"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;3A"
|
||||
key = "Up"
|
||||
mods = "Alt"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[A"
|
||||
key = "Up"
|
||||
mode = "~AppCursor"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001BOA"
|
||||
key = "Up"
|
||||
mode = "AppCursor"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;2B"
|
||||
key = "Down"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;5B"
|
||||
key = "Down"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;3B"
|
||||
key = "Down"
|
||||
mods = "Alt"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[B"
|
||||
key = "Down"
|
||||
mode = "~AppCursor"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001BOB"
|
||||
key = "Down"
|
||||
mode = "AppCursor"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001BOP"
|
||||
key = "F1"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001BOQ"
|
||||
key = "F2"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001BOR"
|
||||
key = "F3"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001BOS"
|
||||
key = "F4"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[15~"
|
||||
key = "F5"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[17~"
|
||||
key = "F6"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[18~"
|
||||
key = "F7"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[19~"
|
||||
key = "F8"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[20~"
|
||||
key = "F9"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[21~"
|
||||
key = "F10"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[23~"
|
||||
key = "F11"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[24~"
|
||||
key = "F12"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;2P"
|
||||
key = "F1"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;2Q"
|
||||
key = "F2"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;2R"
|
||||
key = "F3"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;2S"
|
||||
key = "F4"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[15;2~"
|
||||
key = "F5"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[17;2~"
|
||||
key = "F6"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[18;2~"
|
||||
key = "F7"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[19;2~"
|
||||
key = "F8"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[20;2~"
|
||||
key = "F9"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[21;2~"
|
||||
key = "F10"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[23;2~"
|
||||
key = "F11"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[24;2~"
|
||||
key = "F12"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;5P"
|
||||
key = "F1"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;5Q"
|
||||
key = "F2"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;5R"
|
||||
key = "F3"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;5S"
|
||||
key = "F4"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[15;5~"
|
||||
key = "F5"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[17;5~"
|
||||
key = "F6"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[18;5~"
|
||||
key = "F7"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[19;5~"
|
||||
key = "F8"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[20;5~"
|
||||
key = "F9"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[21;5~"
|
||||
key = "F10"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[23;5~"
|
||||
key = "F11"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[24;5~"
|
||||
key = "F12"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;6P"
|
||||
key = "F1"
|
||||
mods = "Alt"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;6Q"
|
||||
key = "F2"
|
||||
mods = "Alt"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;6R"
|
||||
key = "F3"
|
||||
mods = "Alt"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;6S"
|
||||
key = "F4"
|
||||
mods = "Alt"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[15;6~"
|
||||
key = "F5"
|
||||
mods = "Alt"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[17;6~"
|
||||
key = "F6"
|
||||
mods = "Alt"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[18;6~"
|
||||
key = "F7"
|
||||
mods = "Alt"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[19;6~"
|
||||
key = "F8"
|
||||
mods = "Alt"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[20;6~"
|
||||
key = "F9"
|
||||
mods = "Alt"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[21;6~"
|
||||
key = "F10"
|
||||
mods = "Alt"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[23;6~"
|
||||
key = "F11"
|
||||
mods = "Alt"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[24;6~"
|
||||
key = "F12"
|
||||
mods = "Alt"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;3P"
|
||||
key = "F1"
|
||||
mods = "Super"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;3Q"
|
||||
key = "F2"
|
||||
mods = "Super"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;3R"
|
||||
key = "F3"
|
||||
mods = "Super"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[1;3S"
|
||||
key = "F4"
|
||||
mods = "Super"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[15;3~"
|
||||
key = "F5"
|
||||
mods = "Super"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[17;3~"
|
||||
key = "F6"
|
||||
mods = "Super"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[18;3~"
|
||||
key = "F7"
|
||||
mods = "Super"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[19;3~"
|
||||
key = "F8"
|
||||
mods = "Super"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[20;3~"
|
||||
key = "F9"
|
||||
mods = "Super"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[21;3~"
|
||||
key = "F10"
|
||||
mods = "Super"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[23;3~"
|
||||
key = "F11"
|
||||
mods = "Super"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[24;3~"
|
||||
key = "F12"
|
||||
mods = "Super"
|
||||
|
||||
[general]
|
||||
live_config_reload = true
|
||||
import = ["/home/bredow/.config/alacritty/themes/themes/dark-one.yml"]
|
||||
|
||||
[[mouse.bindings]]
|
||||
action = "PasteSelection"
|
||||
mouse = "Middle"
|
||||
|
||||
[bell]
|
||||
animation = "EaseOutExpo"
|
||||
duration = 0
|
||||
|
||||
[env]
|
||||
TERM = "xterm-256color"
|
||||
|
||||
[font]
|
||||
size = 11
|
||||
|
||||
[font.bold]
|
||||
family = "Fira Code"
|
||||
style = "Bold"
|
||||
|
||||
[font.glyph_offset]
|
||||
x = 0
|
||||
y = 0
|
||||
|
||||
[font.italic]
|
||||
family = "Fira Code"
|
||||
style = "Italic"
|
||||
|
||||
[font.normal]
|
||||
family = "Fira Code"
|
||||
style = "Regular"
|
||||
|
||||
[font.offset]
|
||||
x = 0
|
||||
y = 0
|
||||
|
||||
|
||||
[scrolling]
|
||||
history = 10000
|
||||
multiplier = 3
|
||||
|
||||
[selection]
|
||||
save_to_clipboard = false
|
||||
semantic_escape_chars = ''',│`|:"' ()[]{}<>'''
|
||||
|
||||
[window]
|
||||
decorations = "none"
|
||||
|
||||
[window.dimensions]
|
||||
columns = 80
|
||||
lines = 24
|
||||
|
||||
[window.padding]
|
||||
x = 5
|
||||
y = 5
|
||||
|
||||
[colors]
|
||||
draw_bold_text_with_bright_colors = true
|
||||
|
||||
[keyboard]
|
||||
@@ -1,66 +0,0 @@
|
||||
|
||||
colors:
|
||||
# Default colors
|
||||
primary:
|
||||
background: '0x1e2127'
|
||||
foreground: '0xabb2bf'
|
||||
|
||||
# Bright and dim foreground colors
|
||||
#
|
||||
# The dimmed foreground color is calculated automatically if it is not present.
|
||||
# If the bright foreground color is not set, or `draw_bold_text_with_bright_colors`
|
||||
# is `false`, the normal foreground color will be used.
|
||||
#dim_foreground: '0x9a9a9a'
|
||||
bright_foreground: '0xe6efff'
|
||||
|
||||
# Cursor colors
|
||||
#
|
||||
# Colors which should be used to draw the terminal cursor. If these are unset,
|
||||
# the cursor color will be the inverse of the cell color.
|
||||
#cursor:
|
||||
# text: '0x000000'
|
||||
# cursor: '0xffffff'
|
||||
|
||||
# Normal colors
|
||||
normal:
|
||||
black: '0x1e2127'
|
||||
red: '0xe06c75'
|
||||
green: '0x98c379'
|
||||
yellow: '0xd19a66'
|
||||
blue: '0x61afef'
|
||||
magenta: '0xc678dd'
|
||||
cyan: '0x56b6c2'
|
||||
white: '0x828791'
|
||||
|
||||
# Bright colors
|
||||
bright:
|
||||
black: '0x5c6370'
|
||||
red: '0xe06c75'
|
||||
green: '0x98c379'
|
||||
yellow: '0xd19a66'
|
||||
blue: '0x61afef'
|
||||
magenta: '0xc678dd'
|
||||
cyan: '0x56b6c2'
|
||||
white: '0xe6efff'
|
||||
|
||||
# Dim colors
|
||||
#
|
||||
# If the dim colors are not set, they will be calculated automatically based
|
||||
# on the `normal` colors.
|
||||
dim:
|
||||
black: '0x1e2127'
|
||||
red: '0xe06c75'
|
||||
green: '0x98c379'
|
||||
yellow: '0xd19a66'
|
||||
blue: '0x61afef'
|
||||
magenta: '0xc678dd'
|
||||
cyan: '0x56b6c2'
|
||||
white: '0x828791'
|
||||
|
||||
# Indexed Colors
|
||||
#
|
||||
# The indexed colors include all colors from 16 to 256.
|
||||
# When these are not set, they're filled with sensible defaults.
|
||||
#indexed_colors:
|
||||
# - { index: 16, color: '0x000000' }
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
complete --command fisher --exclusive --long help --description "Print help"
|
||||
complete --command fisher --exclusive --long version --description "Print version"
|
||||
complete --command fisher --exclusive --condition __fish_use_subcommand --arguments install --description "Install plugins"
|
||||
complete --command fisher --exclusive --condition __fish_use_subcommand --arguments update --description "Update installed plugins"
|
||||
complete --command fisher --exclusive --condition __fish_use_subcommand --arguments remove --description "Remove installed plugins"
|
||||
complete --command fisher --exclusive --condition __fish_use_subcommand --arguments list --description "List installed plugins matching regex"
|
||||
complete --command fisher --exclusive --condition "__fish_seen_subcommand_from update remove" --arguments "(fisher list)"
|
||||
@@ -1 +0,0 @@
|
||||
set PATH $PATH $HOME/.gem/ruby/2.6.0/bin
|
||||
@@ -1,2 +0,0 @@
|
||||
set -x -U GOPATH $HOME/build/go
|
||||
set PATH $PATH $HOME/build/go/bin
|
||||
@@ -1,8 +1,6 @@
|
||||
# Start X at login
|
||||
if status --is-login
|
||||
if test -z "$DISPLAY" -a $XDG_VTNR = 2
|
||||
exec hyprland
|
||||
# pour activer le partage d'écran mais provoque des bugs.
|
||||
#exec env XDG_CURRENT_DESKTOP=sway dbus-run-session sway
|
||||
if test -z "$DISPLAY" -a $XDG_VTNR = 1
|
||||
exec start-hyprland
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
# Start X at login
|
||||
if status --is-login
|
||||
if test -z "$DISPLAY" -a $XDG_VTNR = 1
|
||||
exec sway --unsupported-gpu
|
||||
# pour activer le partage d'écran mais provoque des bugs.
|
||||
#exec env XDG_CURRENT_DESKTOP=sway dbus-run-session sway
|
||||
end
|
||||
end
|
||||
@@ -1,4 +0,0 @@
|
||||
|
||||
function fish_user_key_bindings
|
||||
fish_vi_key_bindings
|
||||
end
|
||||
@@ -1,240 +0,0 @@
|
||||
function fisher --argument-names cmd --description "A plugin manager for Fish"
|
||||
set --query fisher_path || set --local fisher_path $__fish_config_dir
|
||||
set --local fisher_version 4.4.5
|
||||
set --local fish_plugins $__fish_config_dir/fish_plugins
|
||||
|
||||
switch "$cmd"
|
||||
case -v --version
|
||||
echo "fisher, version $fisher_version"
|
||||
case "" -h --help
|
||||
echo "Usage: fisher install <plugins...> Install plugins"
|
||||
echo " fisher remove <plugins...> Remove installed plugins"
|
||||
echo " fisher update <plugins...> Update installed plugins"
|
||||
echo " fisher update Update all installed plugins"
|
||||
echo " fisher list [<regex>] List installed plugins matching regex"
|
||||
echo "Options:"
|
||||
echo " -v, --version Print version"
|
||||
echo " -h, --help Print this help message"
|
||||
echo "Variables:"
|
||||
echo " \$fisher_path Plugin installation path. Default: $__fish_config_dir" | string replace --regex -- $HOME \~
|
||||
case ls list
|
||||
string match --entire --regex -- "$argv[2]" $_fisher_plugins
|
||||
case install update remove
|
||||
isatty || read --local --null --array stdin && set --append argv $stdin
|
||||
|
||||
set --local install_plugins
|
||||
set --local update_plugins
|
||||
set --local remove_plugins
|
||||
set --local arg_plugins $argv[2..-1]
|
||||
set --local old_plugins $_fisher_plugins
|
||||
set --local new_plugins
|
||||
|
||||
test -e $fish_plugins && set --local file_plugins (string match --regex -- '^[^\s]+$' <$fish_plugins | string replace -- \~ ~)
|
||||
|
||||
if ! set --query argv[2]
|
||||
if test "$cmd" != update
|
||||
echo "fisher: Not enough arguments for command: \"$cmd\"" >&2 && return 1
|
||||
else if ! set --query file_plugins
|
||||
echo "fisher: \"$fish_plugins\" file not found: \"$cmd\"" >&2 && return 1
|
||||
end
|
||||
set arg_plugins $file_plugins
|
||||
end
|
||||
|
||||
for plugin in $arg_plugins
|
||||
set plugin (test -e "$plugin" && realpath $plugin || string lower -- $plugin)
|
||||
contains -- "$plugin" $new_plugins || set --append new_plugins $plugin
|
||||
end
|
||||
|
||||
if set --query argv[2]
|
||||
for plugin in $new_plugins
|
||||
if contains -- "$plugin" $old_plugins
|
||||
test "$cmd" = remove &&
|
||||
set --append remove_plugins $plugin ||
|
||||
set --append update_plugins $plugin
|
||||
else if test "$cmd" = install
|
||||
set --append install_plugins $plugin
|
||||
else
|
||||
echo "fisher: Plugin not installed: \"$plugin\"" >&2 && return 1
|
||||
end
|
||||
end
|
||||
else
|
||||
for plugin in $new_plugins
|
||||
contains -- "$plugin" $old_plugins &&
|
||||
set --append update_plugins $plugin ||
|
||||
set --append install_plugins $plugin
|
||||
end
|
||||
|
||||
for plugin in $old_plugins
|
||||
contains -- "$plugin" $new_plugins || set --append remove_plugins $plugin
|
||||
end
|
||||
end
|
||||
|
||||
set --local pid_list
|
||||
set --local source_plugins
|
||||
set --local fetch_plugins $update_plugins $install_plugins
|
||||
set --local fish_path (status fish-path)
|
||||
|
||||
echo (set_color --bold)fisher $cmd version $fisher_version(set_color normal)
|
||||
|
||||
for plugin in $fetch_plugins
|
||||
set --local source (command mktemp -d)
|
||||
set --append source_plugins $source
|
||||
|
||||
command mkdir -p $source/{completions,conf.d,themes,functions}
|
||||
|
||||
$fish_path --command "
|
||||
if test -e $plugin
|
||||
command cp -Rf $plugin/* $source
|
||||
else
|
||||
set temp (command mktemp -d)
|
||||
set repo (string split -- \@ $plugin) || set repo[2] HEAD
|
||||
|
||||
if set path (string replace --regex -- '^(https://)?gitlab.com/' '' \$repo[1])
|
||||
set name (string split -- / \$path)[-1]
|
||||
set url https://gitlab.com/\$path/-/archive/\$repo[2]/\$name-\$repo[2].tar.gz
|
||||
else
|
||||
set url https://api.github.com/repos/\$repo[1]/tarball/\$repo[2]
|
||||
end
|
||||
|
||||
echo Fetching (set_color --underline)\$url(set_color normal)
|
||||
|
||||
if command curl -q --silent -L \$url | command tar -xzC \$temp -f - 2>/dev/null
|
||||
command cp -Rf \$temp/*/* $source
|
||||
else
|
||||
echo fisher: Invalid plugin name or host unavailable: \\\"$plugin\\\" >&2
|
||||
command rm -rf $source
|
||||
end
|
||||
|
||||
command rm -rf \$temp
|
||||
end
|
||||
|
||||
set files $source/* && string match --quiet --regex -- .+\.fish\\\$ \$files
|
||||
" &
|
||||
|
||||
set --append pid_list (jobs --last --pid)
|
||||
end
|
||||
|
||||
wait $pid_list 2>/dev/null
|
||||
|
||||
for plugin in $fetch_plugins
|
||||
if set --local source $source_plugins[(contains --index -- "$plugin" $fetch_plugins)] && test ! -e $source
|
||||
if set --local index (contains --index -- "$plugin" $install_plugins)
|
||||
set --erase install_plugins[$index]
|
||||
else
|
||||
set --erase update_plugins[(contains --index -- "$plugin" $update_plugins)]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
for plugin in $update_plugins $remove_plugins
|
||||
if set --local index (contains --index -- "$plugin" $_fisher_plugins)
|
||||
set --local plugin_files_var _fisher_(string escape --style=var -- $plugin)_files
|
||||
|
||||
if contains -- "$plugin" $remove_plugins
|
||||
for name in (string replace --filter --regex -- '.+/conf\.d/([^/]+)\.fish$' '$1' $$plugin_files_var)
|
||||
emit {$name}_uninstall
|
||||
end
|
||||
printf "%s\n" Removing\ (set_color red --bold)$plugin(set_color normal) " "$$plugin_files_var | string replace -- \~ ~
|
||||
set --erase _fisher_plugins[$index]
|
||||
end
|
||||
|
||||
command rm -rf (string replace -- \~ ~ $$plugin_files_var)
|
||||
|
||||
functions --erase (string replace --filter --regex -- '.+/functions/([^/]+)\.fish$' '$1' $$plugin_files_var)
|
||||
|
||||
for name in (string replace --filter --regex -- '.+/completions/([^/]+)\.fish$' '$1' $$plugin_files_var)
|
||||
complete --erase --command $name
|
||||
end
|
||||
|
||||
set --erase $plugin_files_var
|
||||
end
|
||||
end
|
||||
|
||||
if set --query update_plugins[1] || set --query install_plugins[1]
|
||||
command mkdir -p $fisher_path/{functions,themes,conf.d,completions}
|
||||
end
|
||||
|
||||
for plugin in $update_plugins $install_plugins
|
||||
set --local source $source_plugins[(contains --index -- "$plugin" $fetch_plugins)]
|
||||
set --local files $source/{functions,themes,conf.d,completions}/*
|
||||
|
||||
if set --local index (contains --index -- $plugin $install_plugins)
|
||||
set --local user_files $fisher_path/{functions,themes,conf.d,completions}/*
|
||||
set --local conflict_files
|
||||
|
||||
for file in (string replace -- $source/ $fisher_path/ $files)
|
||||
contains -- $file $user_files && set --append conflict_files $file
|
||||
end
|
||||
|
||||
if set --query conflict_files[1] && set --erase install_plugins[$index]
|
||||
echo -s "fisher: Cannot install \"$plugin\": please remove or move conflicting files first:" \n" "$conflict_files >&2
|
||||
continue
|
||||
end
|
||||
end
|
||||
|
||||
for file in (string replace -- $source/ "" $files)
|
||||
command cp -RLf $source/$file $fisher_path/$file
|
||||
end
|
||||
|
||||
set --local plugin_files_var _fisher_(string escape --style=var -- $plugin)_files
|
||||
|
||||
set --query files[1] && set --universal $plugin_files_var (string replace -- $source $fisher_path $files | string replace -- ~ \~)
|
||||
|
||||
contains -- $plugin $_fisher_plugins || set --universal --append _fisher_plugins $plugin
|
||||
contains -- $plugin $install_plugins && set --local event install || set --local event update
|
||||
|
||||
printf "%s\n" Installing\ (set_color --bold)$plugin(set_color normal) " "$$plugin_files_var | string replace -- \~ ~
|
||||
|
||||
for file in (string match --regex -- '.+/[^/]+\.fish$' $$plugin_files_var | string replace -- \~ ~)
|
||||
source $file
|
||||
if set --local name (string replace --regex -- '.+conf\.d/([^/]+)\.fish$' '$1' $file)
|
||||
emit {$name}_$event
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
command rm -rf $source_plugins
|
||||
|
||||
if set --query _fisher_plugins[1]
|
||||
set --local commit_plugins
|
||||
|
||||
for plugin in $file_plugins
|
||||
contains -- (string lower -- $plugin) (string lower -- $_fisher_plugins) && set --append commit_plugins $plugin
|
||||
end
|
||||
|
||||
for plugin in $_fisher_plugins
|
||||
contains -- (string lower -- $plugin) (string lower -- $commit_plugins) || set --append commit_plugins $plugin
|
||||
end
|
||||
|
||||
string replace --regex -- $HOME \~ $commit_plugins >$fish_plugins
|
||||
else
|
||||
set --erase _fisher_plugins
|
||||
command rm -f $fish_plugins
|
||||
end
|
||||
|
||||
set --local total (count $install_plugins) (count $update_plugins) (count $remove_plugins)
|
||||
|
||||
test "$total" != "0 0 0" && echo (string join ", " (
|
||||
test $total[1] = 0 || echo "Installed $total[1]") (
|
||||
test $total[2] = 0 || echo "Updated $total[2]") (
|
||||
test $total[3] = 0 || echo "Removed $total[3]")
|
||||
) plugin/s
|
||||
case \*
|
||||
echo "fisher: Unknown command: \"$cmd\"" >&2 && return 1
|
||||
end
|
||||
end
|
||||
|
||||
if ! set --query _fisher_upgraded_to_4_4
|
||||
set --universal _fisher_upgraded_to_4_4
|
||||
if functions --query _fisher_list
|
||||
set --query XDG_DATA_HOME[1] || set --local XDG_DATA_HOME ~/.local/share
|
||||
command rm -rf $XDG_DATA_HOME/fisher
|
||||
functions --erase _fisher_{list,plugin_parse}
|
||||
fisher update >/dev/null 2>/dev/null
|
||||
else
|
||||
for var in (set --names | string match --entire --regex '^_fisher_.+_files$')
|
||||
set $var (string replace -- ~ \~ $$var)
|
||||
end
|
||||
functions --erase _fisher_fish_postexec
|
||||
end
|
||||
end
|
||||
3
.config/fish/functions/ip.fish
Normal file
3
.config/fish/functions/ip.fish
Normal file
@@ -0,0 +1,3 @@
|
||||
function ip --description 'alias ip=ip -c'
|
||||
command ip -c $argv
|
||||
end
|
||||
@@ -104,7 +104,7 @@ launch=xdg-open ${url}
|
||||
[touch]
|
||||
# long-press-delay=400
|
||||
|
||||
[colors]
|
||||
[colors-dark]
|
||||
alpha=0.9
|
||||
# alpha-mode=default # Can be `default`, `matching` or `all`
|
||||
# background=242424
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
# See https://wiki.hypr.land/Configuring/Monitors/
|
||||
monitor=,preferred,auto,auto
|
||||
|
||||
|
||||
###################
|
||||
### MY PROGRAMS ###
|
||||
###################
|
||||
@@ -44,14 +43,15 @@ $menu = pgrep -x wofi >/dev/null 2>&1 || wofi --gtk-dark --show drun
|
||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||
# Or execute your favorite apps at launch like this:
|
||||
|
||||
exec-once = hyprpaper
|
||||
exec-once = waybar --config ~/.config/waybar/config.hyprland
|
||||
exec-once = foot --server
|
||||
exec-once = blueman-applet
|
||||
exec-once = nm-applet --indicator
|
||||
exec-once = nextcloud --background
|
||||
exec-once = keepassxc
|
||||
exec-once = sleep 2 && hyprpm reload
|
||||
|
||||
exec-once = hyprpm reload -n
|
||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
|
||||
#############################
|
||||
### ENVIRONMENT VARIABLES ###
|
||||
@@ -111,10 +111,29 @@ general {
|
||||
|
||||
resize_on_border = true
|
||||
|
||||
# layout = dwindle
|
||||
#layout = scrolling
|
||||
layout = hy3
|
||||
#layout = master
|
||||
|
||||
|
||||
}
|
||||
|
||||
master {
|
||||
allow_small_split = true
|
||||
special_scale_factor = .80
|
||||
mfact = .34
|
||||
orientation = center
|
||||
}
|
||||
|
||||
dwindle {
|
||||
split_width_multiplier = .33
|
||||
}
|
||||
|
||||
#scrolling {
|
||||
# column_width = .33
|
||||
# fullscreen_on_one_column = false
|
||||
#}
|
||||
|
||||
# Pro monitors
|
||||
# hyperctrl monitors
|
||||
monitorv2 {
|
||||
@@ -206,16 +225,6 @@ animations {
|
||||
animation = zoomFactor, 1, 7, quick
|
||||
}
|
||||
|
||||
# Ref https://wiki.hypr.land/Configuring/Workspace-Rules/
|
||||
# "Smart gaps" / "No gaps when only"
|
||||
# uncomment all if you wish to use that.
|
||||
# workspace = w[tv1], gapsout:0, gapsin:0
|
||||
# workspace = f[1], gapsout:0, gapsin:0
|
||||
# windowrule = bordersize 0, floating:0, onworkspace:w[tv1]
|
||||
# windowrule = rounding 0, floating:0, onworkspace:w[tv1]
|
||||
# windowrule = bordersize 0, floating:0, onworkspace:f[1]
|
||||
# windowrule = rounding 0, floating:0, onworkspace:f[1]
|
||||
|
||||
# See https://wiki.hypr.land/Configuring/Dwindle-Layout/ for more
|
||||
dwindle {
|
||||
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
@@ -235,8 +244,8 @@ master {
|
||||
|
||||
# https://wiki.hypr.land/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. :(
|
||||
force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||
disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
|
||||
}
|
||||
|
||||
|
||||
@@ -336,6 +345,16 @@ bind = $mainMod SHIFT, right, hy3:movewindow, r
|
||||
bind = $mainMod SHIFT, up, hy3:movewindow, u
|
||||
bind = $mainMod SHIFT, down, hy3:movewindow, d
|
||||
|
||||
#bind = $mainMod, left, movefocus, l
|
||||
#bind = $mainMod, right, movefocus, r
|
||||
#bind = $mainMod, up, movefocus, u
|
||||
#bind = $mainMod, down, movefocus, d
|
||||
#
|
||||
#bind = $mainMod SHIFT, left, movewindow, l
|
||||
#bind = $mainMod SHIFT, right, movewindow, r
|
||||
#bind = $mainMod SHIFT, up, movewindow, u
|
||||
#bind = $mainMod SHIFT, down, movewindow, d
|
||||
|
||||
bind = $mainMod SHIFT CTRL, right, movecurrentworkspacetomonitor, r
|
||||
bind = $mainMod SHIFT CTRL, left, movecurrentworkspacetomonitor, l
|
||||
bind = $mainMod SHIFT CTRL, up, movecurrentworkspacetomonitor, u
|
||||
@@ -388,11 +407,37 @@ submap=reset
|
||||
# See https://wiki.hypr.land/Configuring/Window-Rules/ for more
|
||||
# See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules
|
||||
|
||||
# Example windowrule
|
||||
# windowrule = float,class:^(kitty)$,title:^(kitty)$
|
||||
# Example windowrules that are useful
|
||||
|
||||
# Ignore maximize requests from apps. You'll probably like this.
|
||||
windowrule = suppressevent maximize, class:.*
|
||||
windowrule {
|
||||
# Ignore maximize requests from all apps. You'll probably like this.
|
||||
name = suppress-maximize-events
|
||||
match:class = .*
|
||||
|
||||
# Fix some dragging issues with XWayland
|
||||
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
||||
suppress_event = maximize
|
||||
}
|
||||
|
||||
windowrule {
|
||||
# Fix some dragging issues with XWayland
|
||||
name = fix-xwayland-drags
|
||||
match:class = ^$
|
||||
match:title = ^$
|
||||
match:xwayland = true
|
||||
match:float = true
|
||||
match:fullscreen = false
|
||||
match:pin = false
|
||||
|
||||
no_focus = true
|
||||
}
|
||||
|
||||
# Hyprland-run windowrule
|
||||
windowrule {
|
||||
name = move-hyprland-run
|
||||
|
||||
match:class = hyprland-run
|
||||
|
||||
move = 20 monitor_h-120
|
||||
float = yes
|
||||
}
|
||||
|
||||
workspace = 1, layout:dwindle
|
||||
|
||||
7
.config/hypr/hyprpaper.conf
Normal file
7
.config/hypr/hyprpaper.conf
Normal file
@@ -0,0 +1,7 @@
|
||||
splash = off
|
||||
|
||||
wallpaper {
|
||||
monitor =
|
||||
path = ~/nextcloud/perso/images/wallpapers/travelling-through-galaxies-scifi-27.jpg
|
||||
fit_mode = cover
|
||||
}
|
||||
@@ -31,3 +31,6 @@ Length=32
|
||||
|
||||
[SSHAgent]
|
||||
Enabled=true
|
||||
|
||||
[Security]
|
||||
LockDatabaseIdle=false
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
background #1e1e1e
|
||||
foreground #b8bcb9
|
||||
cursor #eee
|
||||
selection_background #efcc00
|
||||
color0 #3a3c43
|
||||
color8 #888987
|
||||
color1 #be3e48
|
||||
color9 #fb001e
|
||||
color2 #869a3a
|
||||
color10 #0e712e
|
||||
color3 #c4a535
|
||||
color11 #c37033
|
||||
color4 #4e76a1
|
||||
color12 #176ce3
|
||||
color5 #855b8d
|
||||
color13 #fb0067
|
||||
color6 #568ea3
|
||||
color14 #2d6f6c
|
||||
color7 #b8bcb9
|
||||
color15 #fcffb8
|
||||
selection_foreground #1e1e1e
|
||||
@@ -1,29 +0,0 @@
|
||||
# Colors
|
||||
|
||||
foreground #979eab
|
||||
background #282c34
|
||||
|
||||
color0 #282c34
|
||||
color1 #e06c75
|
||||
color2 #98c379
|
||||
color3 #e5c07b
|
||||
color4 #61afef
|
||||
color5 #be5046
|
||||
color6 #56b6c2
|
||||
color7 #979eab
|
||||
color8 #393e48
|
||||
color9 #d19a66
|
||||
color10 #56b6c2
|
||||
color11 #e5c07b
|
||||
color12 #61afef
|
||||
color13 #be5046
|
||||
color14 #56b6c2
|
||||
color15 #abb2bf
|
||||
|
||||
# Tab Bar
|
||||
|
||||
active_tab_foreground #282c34
|
||||
active_tab_background #979eab
|
||||
inactive_tab_foreground #abb2bf
|
||||
inactive_tab_background #282c34
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
# Color Scheme template Green Armed
|
||||
|
||||
font_family Fira Code
|
||||
italic_font auto
|
||||
bold_font auto
|
||||
bold_italic_font auto
|
||||
window_margin_width 4.0
|
||||
|
||||
font_size 11.0
|
||||
background_opacity 1
|
||||
|
||||
enable_audio_bell no
|
||||
|
||||
tab_bar_style powerline
|
||||
|
||||
include current-theme.conf
|
||||
@@ -1,23 +0,0 @@
|
||||
# Color Scheme template Green Armed
|
||||
|
||||
font_family Fira Code
|
||||
#font_family Hack Nerd font
|
||||
#font_family Source Code Pro
|
||||
italic_font auto
|
||||
bold_font auto
|
||||
bold_italic_font auto
|
||||
|
||||
font_size 10.0
|
||||
background_opacity 1
|
||||
|
||||
tab_bar_style powerline
|
||||
|
||||
#include monokai-pro-dimmed.conf
|
||||
#include dark-one.conf
|
||||
|
||||
|
||||
|
||||
# BEGIN_KITTY_THEME
|
||||
# Monokai Soda
|
||||
include current-theme.conf
|
||||
# END_KITTY_THEME
|
||||
@@ -1,21 +0,0 @@
|
||||
background #1e1e1e
|
||||
foreground #b8bcb9
|
||||
cursor #eee
|
||||
selection_background #efcc00
|
||||
color0 #3a3c43
|
||||
color8 #888987
|
||||
color1 #be3e48
|
||||
color9 #fb001e
|
||||
color2 #869a3a
|
||||
color10 #0e712e
|
||||
color3 #c4a535
|
||||
color11 #c37033
|
||||
color4 #4e76a1
|
||||
color12 #176ce3
|
||||
color5 #855b8d
|
||||
color13 #fb0067
|
||||
color6 #568ea3
|
||||
color14 #2d6f6c
|
||||
color7 #b8bcb9
|
||||
color15 #fcffb8
|
||||
selection_foreground #1e1e1e
|
||||
@@ -1,21 +0,0 @@
|
||||
background #191919
|
||||
foreground #c4c4b5
|
||||
cursor #f6f6ec
|
||||
selection_background #343434
|
||||
color0 #191919
|
||||
color8 #615e4b
|
||||
color1 #f3005f
|
||||
color9 #f3005f
|
||||
color2 #97e023
|
||||
color10 #97e023
|
||||
color3 #fa8419
|
||||
color11 #dfd561
|
||||
color4 #9c64fe
|
||||
color12 #9c64fe
|
||||
color5 #f3005f
|
||||
color13 #f3005f
|
||||
color6 #57d1ea
|
||||
color14 #57d1ea
|
||||
color7 #c4c4b5
|
||||
color15 #f6f6ee
|
||||
selection_foreground #191919
|
||||
@@ -1,61 +0,0 @@
|
||||
# Monokai-pro for Kitty
|
||||
# Based on https://www.monokai.pro/
|
||||
# src : https://github.com/langolf/kitty-monokaipro/blob/master/kitty-monokaipro.conf
|
||||
|
||||
foreground #fcfcfa
|
||||
background #2d2a2e
|
||||
background #000000
|
||||
selection_foreground #19181a
|
||||
selection_background #ffd866
|
||||
url_color #78dce8
|
||||
cursor #fcfcfa
|
||||
cursor_text_color #2d2a2e
|
||||
|
||||
active_tab_background #ffd866
|
||||
active_tab_foreground #19181a
|
||||
active_tab_font_style bold
|
||||
inactive_tab_background #2d2a2e
|
||||
inactive_tab_foreground #fcfcfa
|
||||
inactive_tab_font_style normal
|
||||
tab_fade 0.1 0.2 0.8 1
|
||||
tab_bar_margin_width 1.0
|
||||
|
||||
dim_opacity 0.5
|
||||
inactive_text_alpha 0.5
|
||||
active_border_color #19181a
|
||||
draw_minimal_borders yes
|
||||
window_padding_width 10
|
||||
window_margin_width 0
|
||||
macos_titlebar_color background
|
||||
|
||||
# black
|
||||
color0 #19181a
|
||||
color8 #19181a
|
||||
|
||||
# red
|
||||
color1 #FF5C57
|
||||
color9 #FF5C57
|
||||
|
||||
# green
|
||||
color2 #a9dc76
|
||||
color10 #a9dc76
|
||||
|
||||
# yellow
|
||||
color3 #ffd866
|
||||
color11 #ffd866
|
||||
|
||||
# blue
|
||||
color4 #3399cc
|
||||
color12 #3399cc
|
||||
|
||||
# magenta
|
||||
color5 #ff6188
|
||||
color13 #ff6188
|
||||
|
||||
# cyan
|
||||
color6 #78dce8
|
||||
color14 #78dce8
|
||||
|
||||
# white
|
||||
color7 #fcfcfa
|
||||
color15 #fcfcfa
|
||||
@@ -23,11 +23,13 @@ set background=dark
|
||||
|
||||
set ruler " Affiche la position du curseur
|
||||
set number " Affiche le numéro des lignes
|
||||
"set cursorline " Surligne la ligne en cours
|
||||
set relativenumber
|
||||
set cursorline " Surligne la ligne en cours
|
||||
set wrap
|
||||
|
||||
set scrolloff=5
|
||||
|
||||
set confirm
|
||||
|
||||
set ignorecase
|
||||
set smartcase
|
||||
@@ -66,6 +68,7 @@ set shiftwidth=4
|
||||
set softtabstop=4
|
||||
set tabstop=4
|
||||
|
||||
|
||||
autocmd Filetype html setlocal ts=2 sw=2 expandtab
|
||||
autocmd Filetype css setlocal ts=2 sw=2 expandtab
|
||||
autocmd Filetype scss setlocal ts=2 sw=2 expandtab
|
||||
|
||||
@@ -1,103 +0,0 @@
|
||||
# Default config for sway
|
||||
#
|
||||
# Copy this to ~/.config/sway/config and edit it to your liking.
|
||||
#
|
||||
# Read `man 5 sway` for a complete reference.
|
||||
|
||||
### Variables
|
||||
#
|
||||
# Logo key. Use Mod1 for Alt.
|
||||
set $mod Mod4
|
||||
|
||||
# Your preferred terminal emulator
|
||||
set $term /usr/bin/footclient
|
||||
|
||||
# Your preferred application launcher
|
||||
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
||||
# on the original workspace that the command was run on.
|
||||
# set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
||||
|
||||
set $menu wofi --gtk-dark --show=drun
|
||||
|
||||
include "$HOME/.config/sway/config.d/*"
|
||||
|
||||
default_border pixel 5
|
||||
smart_borders on
|
||||
|
||||
gaps inner 8
|
||||
smart_gaps on
|
||||
|
||||
focus_follows_mouse no
|
||||
|
||||
### Output configuration
|
||||
#
|
||||
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
||||
output * bg #283646 solid_color
|
||||
output eDP-1 bg "$HOME/nextcloud/perso/images/wallapper_desktop.png" fill
|
||||
#
|
||||
# Example configuration:
|
||||
#
|
||||
# output HDMI-A-1 resolution 1920x1080 position 1920,0
|
||||
#
|
||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||
|
||||
|
||||
### Idle configuration
|
||||
#
|
||||
# Example configuration:
|
||||
#
|
||||
# exec swayidle -w \
|
||||
# timeout 300 'swaylock -f -c 000000' \
|
||||
# timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||
# before-sleep 'swaylock -f -c 000000'
|
||||
#
|
||||
# This will lock your screen after 300 seconds of inactivity, then turn off
|
||||
# your displays after another 300 seconds, and turn your screens back on when
|
||||
# resumed. It will also lock your screen before your computer goes to sleep.
|
||||
|
||||
|
||||
### Key bindings
|
||||
#
|
||||
# Basics:
|
||||
#
|
||||
# Start a terminal
|
||||
bindsym $mod+Return exec $term
|
||||
|
||||
# Kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
|
||||
# Start your launcher
|
||||
bindsym $mod+d exec $menu
|
||||
|
||||
# Drag floating windows by holding down $mod and left mouse button.
|
||||
# Resize them with right mouse button + $mod.
|
||||
# Despite the name, also works for non-floating windows.
|
||||
# Change normal to inverse to use left mouse button for resizing and right
|
||||
# mouse button for dragging.
|
||||
floating_modifier $mod normal
|
||||
|
||||
# Reload the configuration file
|
||||
bindsym $mod+Shift+c reload
|
||||
|
||||
# Exit sway (logs you out of your Wayland session)
|
||||
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
|
||||
|
||||
bindsym $mod+l exec swaylock --color "#243646"
|
||||
|
||||
### Laptop screen is close
|
||||
bindswitch --locked lid:on output eDP-1 disable
|
||||
### Laptop screen is open
|
||||
bindswitch --locked lid:off output eDP-1 enable
|
||||
|
||||
exec kanshi
|
||||
|
||||
bar {
|
||||
swaybar_command waybar
|
||||
}
|
||||
|
||||
exec foot --server
|
||||
exec blueman-applet
|
||||
exec nm-applet --indicator
|
||||
exec nextcloud --background
|
||||
exec keepassxc
|
||||
exec /usr/lib/xdg-desktop-portal-gnome
|
||||
@@ -1,17 +0,0 @@
|
||||
# swaymsg -t get_outputs
|
||||
|
||||
# Laptop pro
|
||||
output 'Najing CEC Panda FPD Technology CO. ltd 0x0056 Unknown' pos 0 0 res 1920x1080 subpixel rgb
|
||||
workspace 1 output 'Najing CEC Panda FPD Technology CO. ltd 0x0056 Unknown'
|
||||
|
||||
# laptop perso
|
||||
output 'BOE 0x090F Unknown' pos 0 0 res 1920x1080 subpixel rgb
|
||||
workspace 1 output 'BOE 0x090F Unknown'
|
||||
|
||||
# Home screen
|
||||
output 'Samsung Electric Company LC34G55T HNTW606264' pos 1920 0
|
||||
workspace 5 output 'Samsung Electric Company LC34G55T HNTW606264'
|
||||
|
||||
# Work screen
|
||||
output 'Iiyama North America PL3481WQ 1242550210951' pos 1920 0
|
||||
workspace 5 output 'Iiyama North America PL3481WQ 1242550210951'
|
||||
@@ -1,9 +0,0 @@
|
||||
# import variables into system-user enviroment
|
||||
# based on the instructions in the sway wiki
|
||||
# see also https://github.com/swaywm/sway/issues/5732
|
||||
# and https://github.com/systemd/systemd/blob/dfc637d0ff756889e8e5b7cb4ec991eb06069aa1/xorg/50-systemd-user.sh
|
||||
|
||||
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||
|
||||
exec hash dbus-update-activation-environment 2>/dev/null && \
|
||||
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||
@@ -1,4 +0,0 @@
|
||||
input type:keyboard {
|
||||
xkb_layout "fr"
|
||||
xkb_variant "oss"
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
# You can "split" the current object of your focus with
|
||||
# $mod+b or $mod+v, for horizontal and vertical splits
|
||||
# respectively.
|
||||
bindsym $mod+h splith
|
||||
bindsym $mod+v splitv
|
||||
|
||||
# Switch the current container between different layout styles
|
||||
bindsym $mod+s layout stacking
|
||||
bindsym $mod+w layout tabbed
|
||||
bindsym $mod+e layout toggle split
|
||||
|
||||
# Make the current focus fullscreen
|
||||
bindsym $mod+f fullscreen
|
||||
|
||||
# Toggle the current focus between tiling and floating mode
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
|
||||
# Swap focus between the tiling area and the floating area
|
||||
bindsym $mod+space focus mode_toggle
|
||||
|
||||
# Move focus to the parent container
|
||||
bindsym $mod+a focus parent
|
||||
@@ -1,11 +0,0 @@
|
||||
mode "resize" {
|
||||
bindsym Left resize shrink width 10px
|
||||
bindsym Down resize grow height 10px
|
||||
bindsym Up resize shrink height 10px
|
||||
bindsym Right resize grow width 10px
|
||||
|
||||
# Return to default mode
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
bindsym $mod+r mode "resize"
|
||||
@@ -1,17 +0,0 @@
|
||||
# Move your focus around
|
||||
bindsym $mod+Left focus left
|
||||
bindsym $mod+Down focus down
|
||||
bindsym $mod+Up focus up
|
||||
bindsym $mod+Right focus right
|
||||
|
||||
# Move the focused window
|
||||
bindsym $mod+Shift+Left move left
|
||||
bindsym $mod+Shift+Down move down
|
||||
bindsym $mod+Shift+Up move up
|
||||
bindsym $mod+Shift+Right move right
|
||||
|
||||
# Move current workspace
|
||||
bindsym $mod+Control+Shift+Right move workspace to output right
|
||||
bindsym $mod+Control+Shift+Left move workspace to output left
|
||||
bindsym $mod+Control+Shift+Down move workspace to output down
|
||||
bindsym $mod+Control+Shift+Up move workspace to output up
|
||||
@@ -1,8 +0,0 @@
|
||||
bindsym --locked XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bindsym --locked XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
bindsym --locked XF86AudioMute exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
bindsym XF86MonBrightnessDown exec brightnessctl set 5%-
|
||||
bindsym XF86MonBrightnessUp exec brightnessctl set 5%+
|
||||
bindsym --locked XF86AudioPlay exec playerctl play-pause
|
||||
bindsym XF86AudioNext exec playerctl next
|
||||
bindsym XF86AudioPrev exec playerctl previous
|
||||
@@ -1,27 +0,0 @@
|
||||
# switch to workspace
|
||||
bindsym $mod+ampersand workspace 1
|
||||
bindsym $mod+eacute workspace 2
|
||||
bindsym $mod+quotedbl workspace 3
|
||||
bindsym $mod+apostrophe workspace 4
|
||||
bindsym $mod+parenleft workspace 5
|
||||
bindsym $mod+minus workspace 6
|
||||
bindsym $mod+egrave workspace 7
|
||||
bindsym $mod+underscore workspace 8
|
||||
bindsym $mod+ccedilla workspace 9
|
||||
bindsym $mod+agrave workspace 10
|
||||
bindsym $mod+parenright workspace 11
|
||||
bindsym $mod+equal workspace 12
|
||||
|
||||
# move focused container to workspace
|
||||
bindsym $mod+Shift+ampersand move container to workspace 1
|
||||
bindsym $mod+Shift+eacute move container to workspace 2
|
||||
bindsym $mod+Shift+quotedbl move container to workspace 3
|
||||
bindsym $mod+Shift+apostrophe move container to workspace 4
|
||||
bindsym $mod+Shift+parenleft move container to workspace 5
|
||||
bindsym $mod+Shift+minus move container to workspace 6
|
||||
bindsym $mod+Shift+egrave move container to workspace 7
|
||||
bindsym $mod+Shift+underscore move container to workspace 8
|
||||
bindsym $mod+Shift+ccedilla move container to workspace 9
|
||||
bindsym $mod+Shift+agrave move container to workspace 10
|
||||
bindsym $mod+Shift+parenright move container to workspace 11
|
||||
bindsym $mod+Shift+equal move container to workspace 12
|
||||
@@ -1,16 +1,10 @@
|
||||
{
|
||||
"font-familly": "FiraCode Nerd Font",
|
||||
"height": 30, // Waybar height (to be removed for auto height)
|
||||
"spacing": 1, // Gaps between modules (4px)
|
||||
"modules-left": ["hyprland/workspaces"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["tray", "pulseaudio", "battery"],
|
||||
"sway/scratchpad": {
|
||||
"format": "{icon} {count}",
|
||||
"show-empty": false,
|
||||
"format-icons": ["", ""],
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{app}: {title}"
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 16,
|
||||
"spacing": 4
|
||||
|
||||
@@ -63,6 +63,10 @@ button:hover {
|
||||
box-shadow: inset 0 -3px #ffffff;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
border-bottom: 3px solid #3ec395;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
background-color: #eb4d4b;
|
||||
}
|
||||
|
||||
@@ -17,8 +17,6 @@ function main
|
||||
# Mise à jour système
|
||||
yay -Suy
|
||||
|
||||
fisher update
|
||||
|
||||
# Mise à jour service languagetool
|
||||
update_languagetool
|
||||
|
||||
|
||||
Reference in New Issue
Block a user