Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
36ad546f9c | ||
|
|
68dd1b2b09 | ||
|
|
fb7ef4da04 |
+1
-1
@@ -1 +1 @@
|
|||||||
--theme=noctalia
|
--theme="Catppuccin Macchiato"
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,280 +0,0 @@
|
|||||||
## Configuration file for CAVA.
|
|
||||||
# Remove the ; to change parameters.
|
|
||||||
|
|
||||||
|
|
||||||
[general]
|
|
||||||
|
|
||||||
# Smoothing mode. Can be 'normal', 'scientific' or 'waves'. DEPRECATED as of 0.6.0
|
|
||||||
; mode = normal
|
|
||||||
|
|
||||||
# Accepts only non-negative values.
|
|
||||||
; framerate = 60
|
|
||||||
|
|
||||||
# 'autosens' will attempt to decrease sensitivity if the bars peak. 1 = on, 0 = off
|
|
||||||
# new as of 0.6.0 autosens of low values (dynamic range)
|
|
||||||
# 'overshoot' allows bars to overshoot (in % of terminal height) without initiating autosens. DEPRECATED as of 0.6.0
|
|
||||||
; autosens = 1
|
|
||||||
; overshoot = 20
|
|
||||||
|
|
||||||
# Manual sensitivity in %. If autosens is enabled, this will only be the initial value.
|
|
||||||
# 200 means double height. Accepts only non-negative values.
|
|
||||||
; sensitivity = 100
|
|
||||||
|
|
||||||
# The number of bars (0-512). 0 sets it to auto (fill up console).
|
|
||||||
# Bars' width and space between bars in number of characters.
|
|
||||||
; bars = 0
|
|
||||||
; bar_width = 2
|
|
||||||
; bar_spacing = 1
|
|
||||||
# bar_height is only used for output in "noritake" format
|
|
||||||
; bar_height = 32
|
|
||||||
|
|
||||||
# For SDL width and space between bars is in pixels, defaults are:
|
|
||||||
; bar_width = 20
|
|
||||||
; bar_spacing = 5
|
|
||||||
|
|
||||||
# sdl_glsl have these default values, they are only used to calulate max number of bars.
|
|
||||||
; bar_width = 1
|
|
||||||
; bar_spacing = 0
|
|
||||||
|
|
||||||
|
|
||||||
# Lower and higher cutoff frequencies for lowest and highest bars
|
|
||||||
# the bandwidth of the visualizer.
|
|
||||||
# Note: there is a minimum total bandwidth of 43Mhz x number of bars.
|
|
||||||
# Cava will automatically increase the higher cutoff if a too low band is specified.
|
|
||||||
; lower_cutoff_freq = 50
|
|
||||||
; higher_cutoff_freq = 10000
|
|
||||||
|
|
||||||
|
|
||||||
# Seconds with no input before cava goes to sleep mode. Cava will not perform FFT or drawing and
|
|
||||||
# only check for input once per second. Cava will wake up once input is detected. 0 = disable.
|
|
||||||
; sleep_timer = 0
|
|
||||||
|
|
||||||
|
|
||||||
[input]
|
|
||||||
|
|
||||||
# Audio capturing method. Possible methods are: 'fifo', 'portaudio', 'pipewire', 'alsa', 'pulse', 'sndio', 'oss', 'jack' or 'shmem'
|
|
||||||
# Defaults to 'oss', 'pipewire', 'sndio', 'jack', 'pulse', 'alsa', 'portaudio' or 'fifo', in that order, dependent on what support cava was built with.
|
|
||||||
# On Mac it defaults to 'portaudio' or 'fifo'
|
|
||||||
# On windows this is automatic and no input settings are needed.
|
|
||||||
#
|
|
||||||
# All input methods uses the same config variable 'source'
|
|
||||||
# to define where it should get the audio.
|
|
||||||
#
|
|
||||||
# For pulseaudio and pipewire 'source' will be the source. Default: 'auto', which uses the monitor source of the default sink
|
|
||||||
# (all pulseaudio sinks(outputs) have 'monitor' sources(inputs) associated with them).
|
|
||||||
#
|
|
||||||
# For pipewire 'source' will be the object name or object.serial of the device to capture from.
|
|
||||||
# Both input and output devices are supported.
|
|
||||||
#
|
|
||||||
# For alsa 'source' will be the capture device.
|
|
||||||
# For fifo 'source' will be the path to fifo-file.
|
|
||||||
# For shmem 'source' will be /squeezelite-AA:BB:CC:DD:EE:FF where 'AA:BB:CC:DD:EE:FF' will be squeezelite's MAC address
|
|
||||||
#
|
|
||||||
# For sndio 'source' will be a raw recording audio descriptor or a monitoring sub-device, e.g. 'rsnd/2' or 'snd/1'. Default: 'default'.
|
|
||||||
# README.md contains further information on how to setup CAVA for sndio.
|
|
||||||
#
|
|
||||||
# For oss 'source' will be the path to a audio device, e.g. '/dev/dsp2'. Default: '/dev/dsp', i.e. the default audio device.
|
|
||||||
# README.md contains further information on how to setup CAVA for OSS on FreeBSD.
|
|
||||||
#
|
|
||||||
# For jack 'source' will be the name of the JACK server to connect to, e.g. 'foobar'. Default: 'default'.
|
|
||||||
# README.md contains further information on how to setup CAVA for JACK.
|
|
||||||
#
|
|
||||||
; method = pulse
|
|
||||||
; source = auto
|
|
||||||
|
|
||||||
; method = pipewire
|
|
||||||
; source = auto
|
|
||||||
|
|
||||||
; method = alsa
|
|
||||||
; source = hw:Loopback,1
|
|
||||||
|
|
||||||
; method = fifo
|
|
||||||
; source = /tmp/mpd.fifo
|
|
||||||
|
|
||||||
; method = shmem
|
|
||||||
; source = /squeezelite-AA:BB:CC:DD:EE:FF
|
|
||||||
|
|
||||||
; method = portaudio
|
|
||||||
; source = auto
|
|
||||||
|
|
||||||
; method = sndio
|
|
||||||
; source = default
|
|
||||||
|
|
||||||
; method = oss
|
|
||||||
; source = /dev/dsp
|
|
||||||
|
|
||||||
; method = jack
|
|
||||||
; source = default
|
|
||||||
|
|
||||||
# The options 'sample_rate', 'sample_bits', 'channels' and 'autoconnect' can be configured for some input methods:
|
|
||||||
# sample_rate: fifo, pipewire, sndio, oss
|
|
||||||
# sample_bits: fifo, pipewire, sndio, oss
|
|
||||||
# channels: sndio, oss, jack
|
|
||||||
# autoconnect: jack
|
|
||||||
# Other methods ignore these settings.
|
|
||||||
#
|
|
||||||
# For 'sndio' and 'oss' they are only preferred values, i.e. if the values are not supported
|
|
||||||
# by the chosen audio device, the device will use other supported values instead.
|
|
||||||
# Example: 48000, 32 and 2, but the device only supports 44100, 16 and 1, then it
|
|
||||||
# will use 44100, 16 and 1.
|
|
||||||
#
|
|
||||||
; sample_rate = 44100
|
|
||||||
; sample_bits = 16
|
|
||||||
; channels = 2
|
|
||||||
; autoconnect = 2
|
|
||||||
|
|
||||||
|
|
||||||
[output]
|
|
||||||
|
|
||||||
# Output method. Can be 'ncurses', 'noncurses', 'raw', 'noritake', 'sdl'
|
|
||||||
# or 'sdl_glsl'.
|
|
||||||
# 'noncurses' (default) uses a buffer and cursor movements to only print
|
|
||||||
# changes from frame to frame in the terminal. Uses less resources and is less
|
|
||||||
# prone to tearing (vsync issues) than 'ncurses'.
|
|
||||||
#
|
|
||||||
# 'raw' is an 8 or 16 bit (configurable via the 'bit_format' option) data
|
|
||||||
# stream of the bar heights that can be used to send to other applications.
|
|
||||||
# 'raw' defaults to 200 bars, which can be adjusted in the 'bars' option above.
|
|
||||||
#
|
|
||||||
# 'noritake' outputs a bitmap in the format expected by a Noritake VFD display
|
|
||||||
# in graphic mode. It only support the 3000 series graphical VFDs for now.
|
|
||||||
#
|
|
||||||
# 'sdl' uses the Simple DirectMedia Layer to render in a graphical context.
|
|
||||||
# 'sdl_glsl' uses SDL to create an OpenGL context. Write your own shaders or
|
|
||||||
# use one of the predefined ones.
|
|
||||||
; method = noncurses
|
|
||||||
|
|
||||||
# Orientation of the visualization. Can be 'bottom', 'top', 'left' or 'right'.
|
|
||||||
# Default is 'bottom'. Other orientations are only supported on sdl and ncruses
|
|
||||||
# output. Note: many fonts have weird glyphs for 'top' and 'right' characters,
|
|
||||||
# which can make ncurses not look right.
|
|
||||||
; orientation = bottom
|
|
||||||
|
|
||||||
# Visual channels. Can be 'stereo' or 'mono'.
|
|
||||||
# 'stereo' mirrors both channels with low frequencies in center.
|
|
||||||
# 'mono' outputs left to right lowest to highest frequencies.
|
|
||||||
# 'mono_option' set mono to either take input from 'left', 'right' or 'average'.
|
|
||||||
# set 'reverse' to 1 to display frequencies the other way around.
|
|
||||||
; channels = stereo
|
|
||||||
; mono_option = average
|
|
||||||
; reverse = 0
|
|
||||||
|
|
||||||
# Raw output target. A fifo will be created if target does not exist.
|
|
||||||
; raw_target = /dev/stdout
|
|
||||||
|
|
||||||
# Raw data format. Can be 'binary' or 'ascii'.
|
|
||||||
; data_format = binary
|
|
||||||
|
|
||||||
# Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530).
|
|
||||||
; bit_format = 16bit
|
|
||||||
|
|
||||||
# Ascii max value. In 'ascii' mode range will run from 0 to value specified here
|
|
||||||
; ascii_max_range = 1000
|
|
||||||
|
|
||||||
# Ascii delimiters. In ascii format each bar and frame is separated by a delimiters.
|
|
||||||
# Use decimal value in ascii table (i.e. 59 = ';' and 10 = '\n' (line feed)).
|
|
||||||
; bar_delimiter = 59
|
|
||||||
; frame_delimiter = 10
|
|
||||||
|
|
||||||
# sdl window size and position. -1,-1 is centered.
|
|
||||||
; sdl_width = 1000
|
|
||||||
; sdl_height = 500
|
|
||||||
; sdl_x = -1
|
|
||||||
; sdl_y= -1
|
|
||||||
; sdl_full_screen = 0
|
|
||||||
|
|
||||||
# set label on bars on the x-axis. Can be 'frequency' or 'none'. Default: 'none'
|
|
||||||
# 'frequency' displays the lower cut off frequency of the bar above.
|
|
||||||
# Only supported on ncurses and noncurses output.
|
|
||||||
; xaxis = none
|
|
||||||
|
|
||||||
# enable alacritty synchronized updates. 1 = on, 0 = off
|
|
||||||
# removes flickering in alacritty terminal emulator.
|
|
||||||
# defaults to off since the behaviour in other terminal emulators is unknown
|
|
||||||
; alacritty_sync = 0
|
|
||||||
|
|
||||||
# Shaders for sdl_glsl, located in $HOME/.config/cava/shaders
|
|
||||||
; vertex_shader = pass_through.vert
|
|
||||||
; fragment_shader = bar_spectrum.frag
|
|
||||||
|
|
||||||
; for glsl output mode, keep rendering even if no audio
|
|
||||||
; continuous_rendering = 0
|
|
||||||
|
|
||||||
# disable console blank (screen saver) in tty
|
|
||||||
# (Not supported on FreeBSD)
|
|
||||||
; disable_blanking = 0
|
|
||||||
|
|
||||||
# show a flat bar at the bottom of the screen when idle, 1 = on, 0 = off
|
|
||||||
; show_idle_bar_heads = 1
|
|
||||||
|
|
||||||
# show waveform instead of frequency spectrum, 1 = on, 0 = off
|
|
||||||
; waveform = 0
|
|
||||||
|
|
||||||
[color]
|
|
||||||
theme = "noctalia"
|
|
||||||
|
|
||||||
# Colors can be one of seven predefined: black, blue, cyan, green, magenta, red, white, yellow.
|
|
||||||
# Or defined by hex code '#xxxxxx' (hex code must be within ''). User defined colors requires
|
|
||||||
# a terminal that can change color definitions such as Gnome-terminal or rxvt.
|
|
||||||
# default is to keep current terminal color
|
|
||||||
; background = default
|
|
||||||
; foreground = default
|
|
||||||
|
|
||||||
# SDL and sdl_glsl only support hex code colors, these are the default:
|
|
||||||
; background = '#111111'
|
|
||||||
; foreground = '#33ffff'
|
|
||||||
|
|
||||||
|
|
||||||
# Gradient mode, only hex defined colors are supported,
|
|
||||||
# background must also be defined in hex or remain commented out. 1 = on, 0 = off.
|
|
||||||
# You can define as many as 8 different colors. They range from bottom to top of screen
|
|
||||||
; gradient = 0
|
|
||||||
; gradient_count = 8
|
|
||||||
; gradient_color_1 = '#59cc33'
|
|
||||||
; gradient_color_2 = '#80cc33'
|
|
||||||
; gradient_color_3 = '#a6cc33'
|
|
||||||
; gradient_color_4 = '#cccc33'
|
|
||||||
; gradient_color_5 = '#cca633'
|
|
||||||
; gradient_color_6 = '#cc8033'
|
|
||||||
; gradient_color_7 = '#cc5933'
|
|
||||||
; gradient_color_8 = '#cc3333'
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[smoothing]
|
|
||||||
|
|
||||||
# Percentage value for integral smoothing. Takes values from 0 - 100.
|
|
||||||
# Higher values means smoother, but less precise. 0 to disable.
|
|
||||||
# DEPRECATED as of 0.8.0, use noise_reduction instead
|
|
||||||
; integral = 77
|
|
||||||
|
|
||||||
# Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable.
|
|
||||||
; monstercat = 0
|
|
||||||
; waves = 0
|
|
||||||
|
|
||||||
# Set gravity percentage for "drop off". Higher values means bars will drop faster.
|
|
||||||
# Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off".
|
|
||||||
# DEPRECATED as of 0.8.0, use noise_reduction instead
|
|
||||||
; gravity = 100
|
|
||||||
|
|
||||||
|
|
||||||
# In bar height, bars that would have been lower that this will not be drawn.
|
|
||||||
# DEPRECATED as of 0.8.0
|
|
||||||
; ignore = 0
|
|
||||||
|
|
||||||
# Noise reduction, int 0 - 100. default 77
|
|
||||||
# the raw visualization is very noisy, this factor adjusts the integral and gravity filters to keep the signal smooth
|
|
||||||
# 100 will be very slow and smooth, 0 will be fast but noisy.
|
|
||||||
; noise_reduction = 77
|
|
||||||
|
|
||||||
|
|
||||||
[eq]
|
|
||||||
|
|
||||||
# This one is tricky. You can have as much keys as you want.
|
|
||||||
# Remember to uncomment more than one key! More keys = more precision.
|
|
||||||
# Look at readme.md on github for further explanations and examples.
|
|
||||||
; 1 = 1 # bass
|
|
||||||
; 2 = 1
|
|
||||||
; 3 = 1 # midtone
|
|
||||||
; 4 = 1
|
|
||||||
; 5 = 1 # treble
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
custom/*.lua
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
"workspace": {
|
|
||||||
"library": [
|
|
||||||
"/usr/share/hypr/stubs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"diagnostics": {
|
|
||||||
"globals": ["hl"]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
-- Machine-specific autostart. Loaded after hyprland/autostart.lua.
|
|
||||||
-- Usage: cp autostart.example autostart.lua (autostart.lua is ignored by git)
|
|
||||||
-- https://wiki.hypr.land/Configuring/Autostart/
|
|
||||||
|
|
||||||
-- hl.on("hyprland.start", function()
|
|
||||||
-- hl.exec_cmd("some-program")
|
|
||||||
-- end)
|
|
||||||
|
|
||||||
-- vim: ft=lua
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
-- Machine-specific environment variables. Loaded after hyprland/environments.lua.
|
|
||||||
-- https://wiki.hypr.land/Configuring/Environment-variables/
|
|
||||||
|
|
||||||
-- hl.env("XCURSOR_SIZE", "24")
|
|
||||||
|
|
||||||
-- vim: ft=lua
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
-- Machine-specific input config (kb_layout, per-device, gestures).
|
|
||||||
-- https://wiki.hypr.land/Configuring/Variables/#input
|
|
||||||
|
|
||||||
-- hl.device({ name = "my-mouse-name", sensitivity = -0.5 })
|
|
||||||
|
|
||||||
-- vim: ft=lua
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
-- Machine-specific keybinds.
|
|
||||||
-- https://wiki.hypr.land/Configuring/Binds/
|
|
||||||
|
|
||||||
-- hl.bind("SUPER + B", hl.dsp.exec_cmd("firefox"))
|
|
||||||
|
|
||||||
-- vim: ft=lua
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
-- Machine-specific monitors.
|
|
||||||
-- https://wiki.hypr.land/Configuring/Monitors/
|
|
||||||
|
|
||||||
-- hl.monitor({ output = "eDP-1", mode = "1920x1080@60", position = "auto", scale = 1 })
|
|
||||||
-- hl.monitor({ output = "DP-1", mode = "2560x1440@144", position = "auto", scale = 1, vrr = 1 })
|
|
||||||
|
|
||||||
-- vim: ft=lua
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
-- Machine-specific window rules
|
|
||||||
-- https://wiki.hypr.land/Configuring/Window-Rules/
|
|
||||||
|
|
||||||
-- Uncomment these lines to enable the ones you want on this machine:
|
|
||||||
-- require("custom/windowrules/godot")
|
|
||||||
-- require("custom/windowrules/signal")
|
|
||||||
-- require("custom/windowrules/telegram")
|
|
||||||
-- require("custom/windowrules/zen")
|
|
||||||
|
|
||||||
-- vim: ft=lua
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
-- Godot application windowrules --
|
|
||||||
|
|
||||||
hl.window_rule({
|
|
||||||
name = "Resize Godot confirmation dialogs",
|
|
||||||
match = {
|
|
||||||
class = "org.godotengine.Editor",
|
|
||||||
float = true,
|
|
||||||
},
|
|
||||||
size = { "monitor_w * 0.15", "monitor_h * 0.1" },
|
|
||||||
center = true,
|
|
||||||
})
|
|
||||||
|
|
||||||
hl.window_rule({
|
|
||||||
name = "Resize New node dialog",
|
|
||||||
match = {
|
|
||||||
class = "org.godotengine.Editor",
|
|
||||||
title = "Créer un nouveau Node",
|
|
||||||
},
|
|
||||||
size = { 1000, 750 },
|
|
||||||
})
|
|
||||||
|
|
||||||
hl.window_rule({
|
|
||||||
name = "Resize Region edit dialog",
|
|
||||||
match = {
|
|
||||||
class = "org.godotengine.Editor",
|
|
||||||
title = "Éditeur de régions",
|
|
||||||
},
|
|
||||||
size = { 1500, 1000 },
|
|
||||||
})
|
|
||||||
|
|
||||||
hl.window_rule({
|
|
||||||
name = "Resize Region edit dialog",
|
|
||||||
match = {
|
|
||||||
class = "org.godotengine.Editor",
|
|
||||||
title = "Sélectionner une scène",
|
|
||||||
},
|
|
||||||
size = { 550, 450 },
|
|
||||||
})
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
hl.window_rule({
|
|
||||||
name = "Floating DEBUG window",
|
|
||||||
match = {
|
|
||||||
class = "org.godotengine.Editor",
|
|
||||||
title = ".*DEBUG.*",
|
|
||||||
},
|
|
||||||
size = { 1280, 720 },
|
|
||||||
float = true,
|
|
||||||
center = true,
|
|
||||||
})
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
-- Signal application windowrules --
|
|
||||||
|
|
||||||
hl.window_rule({
|
|
||||||
name = "Floating Signal",
|
|
||||||
match = { class = "signal" },
|
|
||||||
size = "425 790",
|
|
||||||
move = "(monitor_w*0.72) (monitor_h*0.15)",
|
|
||||||
float = true,
|
|
||||||
pin = true,
|
|
||||||
})
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
-- Telegram application windowrules --
|
|
||||||
|
|
||||||
hl.window_rule({
|
|
||||||
name = "Floating Telegram",
|
|
||||||
match = { class = "org.telegram.desktop" },
|
|
||||||
size = "425 790",
|
|
||||||
move = "(monitor_w*0.72) (monitor_h*0.15)",
|
|
||||||
float = true,
|
|
||||||
pin = true,
|
|
||||||
})
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
-- Zen browser windowrules --
|
|
||||||
|
|
||||||
hl.window_rule({
|
|
||||||
name = "Zen Picture-in-Picture",
|
|
||||||
match = { class = "zen", title = "Picture-in-Picture" },
|
|
||||||
center = true,
|
|
||||||
size = "1280 720",
|
|
||||||
float = true,
|
|
||||||
pin = true,
|
|
||||||
})
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
-- Machine-specific workspace rules.
|
|
||||||
-- https://wiki.hypr.land/Configuring/Workspace-Rules/
|
|
||||||
|
|
||||||
-- hl.workspace_rule({ workspace = "1", monitor = "eDP-1", persistent = true, default_name = "web" })
|
|
||||||
|
|
||||||
-- vim: ft=lua
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
-- ##############################################################
|
|
||||||
-- MY SUPER HYPRLAND CONFIG.
|
|
||||||
-- https://wiki.hypr.land/Configuring/
|
|
||||||
-- ##############################################################
|
|
||||||
|
|
||||||
-- Load a module only if its file exists.
|
|
||||||
local function optional(module)
|
|
||||||
if package.searchpath(module, package.path) then
|
|
||||||
require(module)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
-- Defaults (do not edit) --
|
|
||||||
require("hyprland/monitors")
|
|
||||||
require("hyprland/environments")
|
|
||||||
require("hyprland/autostart")
|
|
||||||
require("hyprland/permissions")
|
|
||||||
require("hyprland/look-and-feel")
|
|
||||||
require("hyprland/inputs")
|
|
||||||
require("hyprland/keybinds")
|
|
||||||
require("hyprland/windowrules")
|
|
||||||
|
|
||||||
-- Custom --
|
|
||||||
optional("custom/autostart")
|
|
||||||
optional("custom/monitors")
|
|
||||||
optional("custom/environments")
|
|
||||||
optional("custom/inputs")
|
|
||||||
optional("custom/keybinds")
|
|
||||||
optional("custom/windowrules")
|
|
||||||
optional("custom/workspacerules")
|
|
||||||
|
|
||||||
-- For Noctalia Color templates
|
|
||||||
require("noctalia").apply_theme()
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
-- https://wiki.hypr.land/Configuring/Autostart/
|
|
||||||
-- Shared defaults — do not edit. Add user-specific autostart in custom/autostart.lua.
|
|
||||||
|
|
||||||
hl.on("hyprland.start", function()
|
|
||||||
hl.exec_cmd("noctalia")
|
|
||||||
end)
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
-- https://wiki.hypr.land/Configuring/Environment-variables/
|
|
||||||
-- Shared defaults — do not edit. Add user-specific env vars in custom/environments.lua.
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
-- https://wiki.hypr.land/Configuring/Variables/#input
|
|
||||||
-- Shared defaults — do not edit. Add user-specific input config in custom/inputs.lua.
|
|
||||||
|
|
||||||
hl.config({
|
|
||||||
input = {
|
|
||||||
kb_layout = "fr",
|
|
||||||
kb_variant = "",
|
|
||||||
kb_model = "",
|
|
||||||
kb_options = "",
|
|
||||||
kb_rules = "",
|
|
||||||
numlock_by_default = true,
|
|
||||||
follow_mouse = 1,
|
|
||||||
sensitivity = 0,
|
|
||||||
touchpad = {
|
|
||||||
natural_scroll = false,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
-- https://wiki.hypr.land/Configuring/Gestures
|
|
||||||
hl.gesture({ fingers = 3, direction = "horizontal", action = "workspace" })
|
|
||||||
@@ -1,98 +0,0 @@
|
|||||||
-- https://wiki.hypr.land/Configuring/Binds/
|
|
||||||
-- Shared defaults — do not edit. Add user-specific keybindings in custom/keybinds.lua.
|
|
||||||
|
|
||||||
local mainMod = "SUPER"
|
|
||||||
local terminal = "kitty"
|
|
||||||
local fileMgr = "nautilus"
|
|
||||||
local ipc = "noctalia msg"
|
|
||||||
|
|
||||||
hl.bind("CTRL + ALT + T", hl.dsp.exec_cmd(terminal))
|
|
||||||
hl.bind(mainMod .. " + C", hl.dsp.window.close())
|
|
||||||
hl.bind(mainMod .. " + M", hl.dsp.exit())
|
|
||||||
hl.bind(mainMod .. " + F", hl.dsp.exec_cmd(fileMgr))
|
|
||||||
hl.bind(mainMod .. " + V", hl.dsp.window.float({ action = "toggle" }))
|
|
||||||
hl.bind(mainMod .. " + CTRL + F", hl.dsp.window.fullscreen({ mode = "fullscreen", state = "toggle" }))
|
|
||||||
hl.bind(mainMod .. " + P", hl.dsp.window.pseudo())
|
|
||||||
hl.bind(mainMod .. " + U", hl.dsp.layout("togglesplit"))
|
|
||||||
hl.bind(mainMod .. " + H", hl.dsp.layout("swapsplit"))
|
|
||||||
|
|
||||||
-- Focus: arrow keys + IJKL
|
|
||||||
for _, m in ipairs({
|
|
||||||
{ "left", "l" },
|
|
||||||
{ "right", "r" },
|
|
||||||
{ "up", "u" },
|
|
||||||
{ "down", "d" },
|
|
||||||
{ "J", "l" },
|
|
||||||
{ "L", "r" },
|
|
||||||
{ "I", "u" },
|
|
||||||
{ "K", "d" },
|
|
||||||
}) do
|
|
||||||
hl.bind(mainMod .. " + " .. m[1], hl.dsp.focus({ direction = m[2] }))
|
|
||||||
end
|
|
||||||
|
|
||||||
-- Workspaces 1..10: digit + AZERTY keysym, plus SHIFT to move active window
|
|
||||||
local azerty = {
|
|
||||||
"ampersand",
|
|
||||||
"eacute",
|
|
||||||
"quotedbl",
|
|
||||||
"apostrophe",
|
|
||||||
"parenleft",
|
|
||||||
"minus",
|
|
||||||
"egrave",
|
|
||||||
"underscore",
|
|
||||||
"ccedilla",
|
|
||||||
"agrave",
|
|
||||||
}
|
|
||||||
for i = 1, 10 do
|
|
||||||
local digit = (i == 10) and "0" or tostring(i)
|
|
||||||
hl.bind(mainMod .. " + " .. digit, hl.dsp.focus({ workspace = i }))
|
|
||||||
hl.bind(mainMod .. " + " .. azerty[i], hl.dsp.focus({ workspace = i }))
|
|
||||||
hl.bind(mainMod .. " + SHIFT + " .. azerty[i], hl.dsp.window.move({ workspace = i }))
|
|
||||||
end
|
|
||||||
|
|
||||||
-- Mouse scroll between workspaces
|
|
||||||
hl.bind(mainMod .. " + mouse_down", hl.dsp.focus({ workspace = "e+1" }))
|
|
||||||
hl.bind(mainMod .. " + mouse_up", hl.dsp.focus({ workspace = "e-1" }))
|
|
||||||
|
|
||||||
-- Mouse drag / resize
|
|
||||||
hl.bind(mainMod .. " + mouse:272", hl.dsp.window.drag(), { mouse = true })
|
|
||||||
hl.bind(mainMod .. " + mouse:273", hl.dsp.window.resize(), { mouse = true })
|
|
||||||
|
|
||||||
-- Volume / brightness
|
|
||||||
for _, b in ipairs({
|
|
||||||
{ "XF86AudioRaiseVolume", "wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+" },
|
|
||||||
{ "XF86AudioLowerVolume", "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" },
|
|
||||||
{ "XF86AudioMute", "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" },
|
|
||||||
{ "XF86AudioMicMute", "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle" },
|
|
||||||
{ "XF86MonBrightnessUp", "brightnessctl -e4 -n2 set 5%+" },
|
|
||||||
{ "XF86MonBrightnessDown", "brightnessctl -e4 -n2 set 5%-" },
|
|
||||||
}) do
|
|
||||||
hl.bind(b[1], hl.dsp.exec_cmd(b[2]), { locked = true, repeating = true })
|
|
||||||
end
|
|
||||||
|
|
||||||
-- Media player
|
|
||||||
for _, b in ipairs({
|
|
||||||
{ "XF86AudioNext", "playerctl next" },
|
|
||||||
{ "XF86AudioPause", "playerctl play-pause" },
|
|
||||||
{ "XF86AudioPlay", "playerctl play-pause" },
|
|
||||||
{ "XF86AudioPrev", "playerctl previous" },
|
|
||||||
}) do
|
|
||||||
hl.bind(b[1], hl.dsp.exec_cmd(b[2]), { locked = true })
|
|
||||||
end
|
|
||||||
|
|
||||||
-- Screenshot
|
|
||||||
-- hl.bind("Print", hl.dsp.exec_cmd("hyprshot -m region"), { locked = true })
|
|
||||||
-- hl.bind("CTRL + Print", hl.dsp.exec_cmd("hyprshot -m output -m active"), { locked = true })
|
|
||||||
|
|
||||||
hl.bind("XF86Calculator", hl.dsp.exec_cmd("gnome-calculator"))
|
|
||||||
|
|
||||||
-- Noctalia IPC
|
|
||||||
hl.bind(mainMod .. " + SPACE", hl.dsp.exec_cmd(ipc .. " panel-toggle launcher"))
|
|
||||||
hl.bind(mainMod .. " + S", hl.dsp.exec_cmd(ipc .. " panel-toggle control-center"))
|
|
||||||
hl.bind(mainMod .. " + T", hl.dsp.exec_cmd(ipc .. " theme-mode-toggle"))
|
|
||||||
hl.bind(mainMod .. " + W", hl.dsp.exec_cmd(ipc .. " panel-toggle noctalia/wallhaven:browser"))
|
|
||||||
hl.bind(mainMod .. " + SHIFT + L", hl.dsp.exec_cmd(ipc .. " session lock"))
|
|
||||||
hl.bind("switch:Lid Switch", hl.dsp.exec_cmd(ipc .. " session lock"), { locked = true })
|
|
||||||
hl.bind(mainMod .. " + R", hl.dsp.exec_cmd(ipc .. " plugin noctalia/screen_recorder:service all toggle"))
|
|
||||||
hl.bind("Print", hl.dsp.exec_cmd(ipc .. " screenshot-region"), { locked = true })
|
|
||||||
hl.bind("CTRL + Print", hl.dsp.exec_cmd(ipc .. " screenshot-fullscreen pick"))
|
|
||||||
@@ -1,87 +0,0 @@
|
|||||||
-- https://wiki.hypr.land/Configuring/Variables/
|
|
||||||
-- Shared defaults — do not edit. No custom/look-and-feel.lua override exists; add one if needed.
|
|
||||||
|
|
||||||
hl.config({
|
|
||||||
general = {
|
|
||||||
gaps_in = 5,
|
|
||||||
gaps_out = 10,
|
|
||||||
border_size = 2,
|
|
||||||
col = {
|
|
||||||
active_border = { colors = {"rgba(33ccffee)", "rgba(00ff99ee)"}, angle = 45 },
|
|
||||||
inactive_border = "rgba(595959aa)",
|
|
||||||
},
|
|
||||||
resize_on_border = false,
|
|
||||||
allow_tearing = false,
|
|
||||||
layout = "dwindle",
|
|
||||||
},
|
|
||||||
|
|
||||||
decoration = {
|
|
||||||
rounding = 12,
|
|
||||||
rounding_power = 2,
|
|
||||||
active_opacity = 1.0,
|
|
||||||
inactive_opacity = 1.0,
|
|
||||||
shadow = {
|
|
||||||
enabled = true,
|
|
||||||
range = 30,
|
|
||||||
render_power = 5,
|
|
||||||
offset = "0 5",
|
|
||||||
color = "rgba(00000070)",
|
|
||||||
},
|
|
||||||
blur = {
|
|
||||||
enabled = false,
|
|
||||||
size = 3,
|
|
||||||
passes = 1,
|
|
||||||
vibrancy = 0.1696,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
animations = {
|
|
||||||
enabled = true,
|
|
||||||
},
|
|
||||||
|
|
||||||
dwindle = {
|
|
||||||
preserve_split = true,
|
|
||||||
},
|
|
||||||
|
|
||||||
master = {
|
|
||||||
new_status = "master",
|
|
||||||
mfact = 0.5,
|
|
||||||
},
|
|
||||||
|
|
||||||
scrolling = {
|
|
||||||
fullscreen_on_one_column = true,
|
|
||||||
},
|
|
||||||
|
|
||||||
misc = {
|
|
||||||
disable_splash_rendering = true,
|
|
||||||
force_default_wallpaper = 0,
|
|
||||||
disable_hyprland_logo = true,
|
|
||||||
},
|
|
||||||
|
|
||||||
xwayland = {
|
|
||||||
force_zero_scaling = true,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
-- Default curves and animations. See https://wiki.hypr.land/Configuring/Animations/
|
|
||||||
hl.curve("easeOutQuint", { type = "bezier", points = { {0.23, 1}, {0.32, 1} } })
|
|
||||||
hl.curve("easeInOutCubic", { type = "bezier", points = { {0.65, 0.05}, {0.36, 1} } })
|
|
||||||
hl.curve("linear", { type = "bezier", points = { {0, 0}, {1, 1} } })
|
|
||||||
hl.curve("almostLinear", { type = "bezier", points = { {0.5, 0.5}, {0.75, 1} } })
|
|
||||||
hl.curve("quick", { type = "bezier", points = { {0.15, 0}, {0.1, 1} } })
|
|
||||||
hl.curve("easy", { type = "spring", mass = 1, stiffness = 71.2633, dampening = 15.8273644 })
|
|
||||||
|
|
||||||
hl.animation({ leaf = "global", enabled = true, speed = 10, bezier = "default" })
|
|
||||||
hl.animation({ leaf = "border", enabled = true, speed = 5.39, bezier = "easeOutQuint" })
|
|
||||||
hl.animation({ leaf = "windows", enabled = true, speed = 4.79, spring = "easy" })
|
|
||||||
hl.animation({ leaf = "windowsIn", enabled = true, speed = 4.1, spring = "easy", style = "popin 87%" })
|
|
||||||
hl.animation({ leaf = "windowsOut", enabled = true, speed = 1.49, bezier = "linear", style = "popin 87%" })
|
|
||||||
hl.animation({ leaf = "fadeIn", enabled = true, speed = 1.73, bezier = "almostLinear" })
|
|
||||||
hl.animation({ leaf = "fadeOut", enabled = true, speed = 1.46, bezier = "almostLinear" })
|
|
||||||
hl.animation({ leaf = "fade", enabled = true, speed = 3.03, bezier = "quick" })
|
|
||||||
hl.animation({ leaf = "layers", enabled = true, speed = 3.81, bezier = "easeOutQuint" })
|
|
||||||
hl.animation({ leaf = "layersIn", enabled = true, speed = 4, bezier = "easeOutQuint", style = "fade" })
|
|
||||||
hl.animation({ leaf = "layersOut", enabled = true, speed = 1.5, bezier = "linear", style = "fade" })
|
|
||||||
hl.animation({ leaf = "fadeLayersIn", enabled = true, speed = 1.79, bezier = "almostLinear" })
|
|
||||||
hl.animation({ leaf = "fadeLayersOut", enabled = true, speed = 1.39, bezier = "almostLinear" })
|
|
||||||
hl.animation({ leaf = "zoomFactor", enabled = true, speed = 7, bezier = "quick" })
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
-- https://wiki.hypr.land/Configuring/Monitors/
|
|
||||||
-- Shared defaults — do not edit. Add user-specific monitor config in custom/monitors.lua.
|
|
||||||
|
|
||||||
hl.monitor({ output = "", mode = "preferred", position = "auto", scale = "auto" })
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
-- https://wiki.hypr.land/Configuring/Permissions/
|
|
||||||
-- Shared defaults — do not edit. No custom/permissions.lua override exists; add one if needed.
|
|
||||||
-- Permission changes require a Hyprland restart, not a reload.
|
|
||||||
|
|
||||||
-- hl.config({ ecosystem = { enforce_permissions = 1 } })
|
|
||||||
|
|
||||||
-- hl.permission({ path = "/usr/(bin|local/bin)/grim", capability = "screencopy", action = "allow" })
|
|
||||||
-- hl.permission({ path = "/usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland", capability = "screencopy", action = "allow" })
|
|
||||||
-- hl.permission({ path = "/usr/(bin|local/bin)/hyprpm", capability = "plugin", action = "allow" })
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
-- https://wiki.hypr.land/Configuring/Window-Rules/
|
|
||||||
-- Shared defaults — do not edit. Add user-specific window rules in custom/windowrules.lua.
|
|
||||||
|
|
||||||
hl.window_rule({
|
|
||||||
name = "floating-window",
|
|
||||||
match = { class = "(Imprimer l'image|org.gnome.Calculator|org.gnome.Loupe)" },
|
|
||||||
float = true,
|
|
||||||
})
|
|
||||||
|
|
||||||
hl.window_rule({
|
|
||||||
name = "kitty-term",
|
|
||||||
match = { class = "kitty" },
|
|
||||||
size = "995 600",
|
|
||||||
float = true,
|
|
||||||
center = true,
|
|
||||||
})
|
|
||||||
|
|
||||||
hl.window_rule({
|
|
||||||
name = "filesystems",
|
|
||||||
match = { class = "DevTools|Tous les fichiers|org.gnome.Nautilus" },
|
|
||||||
float = true,
|
|
||||||
center = true,
|
|
||||||
size = "(monitor_w*0.48) (monitor_h*0.5)",
|
|
||||||
})
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
font_family FiraCode Nerd Font
|
|
||||||
bold_font auto
|
|
||||||
italic_font auto
|
|
||||||
bold_italic_font auto
|
|
||||||
font_size 12.0
|
|
||||||
|
|
||||||
window_padding_width 4
|
|
||||||
|
|
||||||
enable_audio_bell = no
|
|
||||||
remember_window_size no
|
|
||||||
cursor_trail 10
|
|
||||||
|
|
||||||
tab_bar_min_tabs 1
|
|
||||||
tab_bar_edge bottom
|
|
||||||
tab_bar_style powerline
|
|
||||||
tab_powerline_style slanted
|
|
||||||
|
|
||||||
# OS Window titlebar colors
|
|
||||||
# wayland_titlebar_color system
|
|
||||||
# macos_titlebar_color system
|
|
||||||
|
|
||||||
include themes/noctalia.conf
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
-- bootstrap lazy.nvim, LazyVim and your plugins
|
|
||||||
require("config.lazy")
|
|
||||||
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
# Set true color
|
|
||||||
set-option -sa terminal-overrides ",xterm*:Tc"
|
|
||||||
set -g mouse on
|
|
||||||
|
|
||||||
# Set prefix
|
|
||||||
unbind C-b
|
|
||||||
set -g prefix C-Space
|
|
||||||
bind C-Space send-prefix
|
|
||||||
|
|
||||||
# Start windows and panes at 1, not 0
|
|
||||||
set -g base-index 1
|
|
||||||
set -g pane-base-index 1
|
|
||||||
set-window-option -g pane-base-index 1
|
|
||||||
set-option -g renumber-windows on
|
|
||||||
|
|
||||||
set -g @catppuccin_flavour 'macchiato'
|
|
||||||
set -g @catppuccin_status_modules_right "application session load"
|
|
||||||
|
|
||||||
set -g @plugin 'tmux-plugins/tpm'
|
|
||||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
||||||
set -g @plugin 'catppuccin/tmux'
|
|
||||||
set -g @plugin 'jamesoff/tmux-loadavg'
|
|
||||||
|
|
||||||
run '~/.tmux/plugins/tpm/tpm'
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
include noctaliarc
|
|
||||||
@@ -1,3 +1,10 @@
|
|||||||
|
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
||||||
|
# Initialization code that may require console input (password prompts, [y/n]
|
||||||
|
# confirmations, etc.) must go above this block; everything else may go below.
|
||||||
|
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||||
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
|
fi
|
||||||
|
|
||||||
# If you come from bash you might have to change your $PATH.
|
# If you come from bash you might have to change your $PATH.
|
||||||
# export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
|
# export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
@@ -11,6 +18,7 @@ export FZF_DEFAULT_OPTS=" \
|
|||||||
--color=selected-bg:#494D64 \
|
--color=selected-bg:#494D64 \
|
||||||
--color=border:#6E738D,label:#CAD3F5"
|
--color=border:#6E738D,label:#CAD3F5"
|
||||||
|
|
||||||
|
|
||||||
# Set name of the theme to load --- if set to "random", it will
|
# 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,
|
# 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
|
# to know which specific one was loaded, run: echo $RANDOM_THEME
|
||||||
@@ -104,7 +112,7 @@ source ~/.config/zsh/config
|
|||||||
export EDITOR="nvim"
|
export EDITOR="nvim"
|
||||||
|
|
||||||
# GPG Key - uncommunt if needed
|
# GPG Key - uncommunt if needed
|
||||||
export GPG_TTY=$(tty)
|
#export GPG_TTY=$(tty)
|
||||||
|
|
||||||
# Compilation flags
|
# Compilation flags
|
||||||
# export ARCHFLAGS="-arch $(uname -m)"
|
# export ARCHFLAGS="-arch $(uname -m)"
|
||||||
@@ -122,8 +130,11 @@ export GPG_TTY=$(tty)
|
|||||||
|
|
||||||
source ~/.config/zsh/aliases
|
source ~/.config/zsh/aliases
|
||||||
|
|
||||||
if [[ "$CLAUDECODE" != "1" ]]; then
|
eval "$(zoxide init --cmd cd zsh)"
|
||||||
eval "$(zoxide init --cmd cd zsh)"
|
eval "$(/home/thomas/.local/bin/mise activate zsh --shims)"
|
||||||
fi
|
|
||||||
|
|
||||||
eval "$(~/.local/bin/mise activate zsh --shims)"
|
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||||
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||||
|
|
||||||
|
# To customize prompt, run `p10k configure` or edit ~/dotfiles/.p10k.zsh.
|
||||||
|
[[ ! -f ~/dotfiles/.p10k.zsh ]] || source ~/dotfiles/.p10k.zsh
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ user the <kbd>SUPER</kbd> + <kbd>T</kbd> shortcut to switch between light and da
|
|||||||
|
|
||||||
### Issues
|
### Issues
|
||||||
|
|
||||||
bat might not apply the catppuccin theme at launch, because you need to rebuild it's cache
|
bat might not apply the catppuccin theme at launch, because you need to rebuild it's cache.
|
||||||
|
|
||||||
```
|
```
|
||||||
bat cache --build
|
bat cache --build
|
||||||
|
|||||||
Reference in New Issue
Block a user