new configs
This commit is contained in:
parent
f3ab049a81
commit
4c81c0ca4a
10 changed files with 107 additions and 14 deletions
|
|
@ -70,11 +70,11 @@ if status is-interactive
|
|||
set fish_pager_color_selected_prefix black --bold --underline
|
||||
set fish_pager_color_secondary_completion
|
||||
|
||||
if test $XDG_CURRENT_DESKTOP = "niri"
|
||||
dconf write /org/gnome/desktop/wm/preferences/button-layout "'appmenu'"
|
||||
else
|
||||
dconf reset /org/gnome/desktop/wm/preferences/button-layout
|
||||
end
|
||||
# if test $XDG_CURRENT_DESKTOP = "niri"
|
||||
# dconf write /org/gnome/desktop/wm/preferences/button-layout "'appmenu'"
|
||||
# else
|
||||
# dconf reset /org/gnome/desktop/wm/preferences/button-layout
|
||||
# end
|
||||
end
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
function menu --description 'Opens a menu of a list of Strings and writes the result to stdout'
|
||||
argparse h/help p/prompt=? index -- $argv
|
||||
argparse h/help p/prompt=? mesg=? placeholder=? index -- $argv
|
||||
or return
|
||||
|
||||
if set -ql _flag_help
|
||||
|
|
@ -17,6 +17,10 @@ function menu --description 'Opens a menu of a list of Strings and writes the re
|
|||
set -a fuzzel_args "--placeholder=$_flag_placeholder"
|
||||
end
|
||||
|
||||
if set -ql _flag_mesg
|
||||
set -a fuzzel_args "--mesg=$_flag_mesg"
|
||||
end
|
||||
|
||||
if set -ql _flag_index
|
||||
set -a fuzzel_args "--index"
|
||||
end
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ output "eDP-1" {
|
|||
position x=320 y=1441
|
||||
}
|
||||
|
||||
output "HDMI-A-1" {
|
||||
output "ViewSonic Corporation VX2758A-2K XLK245220057" {
|
||||
position x=0 y=0
|
||||
}
|
||||
|
||||
|
|
@ -297,7 +297,6 @@ hotkey-overlay {
|
|||
// This option will also fix border/focus ring drawing behind some semitransparent windows.
|
||||
// After enabling or disabling this, you need to restart the apps for this to take effect.
|
||||
prefer-no-csd
|
||||
|
||||
// You can change the path where screenshots are saved.
|
||||
// A ~ at the front will be expanded to the home directory.
|
||||
// The path is formatted with strftime(3) to give you the screenshot date and time.
|
||||
|
|
@ -389,7 +388,7 @@ binds {
|
|||
//
|
||||
// Most actions that you can bind here can also be invoked programmatically with
|
||||
// `niri msg action do-something`.
|
||||
|
||||
|
||||
// Mod-Shift-/, which is usually the same as Mod-?,
|
||||
// shows a list of important hotkeys.
|
||||
Mod+Shift+0 { show-hotkey-overlay; }
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
vim.treesitter.start()
|
||||
|
||||
vim.opt.spelllang = "de"
|
||||
vim.opt.spell = true
|
||||
|
||||
-- vim.wo[0][0].foldexpr = 'v:lua.vim.treesitter.foldexpr()'
|
||||
-- vim.wo[0][0].foldmethod = 'expr'
|
||||
|
||||
|
|
|
|||
|
|
@ -5,8 +5,6 @@ vim.g.mapleader = " "
|
|||
vim.g.maplocalleader = " "
|
||||
|
||||
vim.o.guifont = "Adwaita Mono:h12"
|
||||
vim.g.neovide_cursor_animation_length = 0.04
|
||||
-- vim.g.neovide_cursor_trail_size = 0.1
|
||||
|
||||
-- Disable mouse input
|
||||
vim.o.mouse = ""
|
||||
|
|
@ -138,7 +136,6 @@ vim.api.nvim_create_autocmd('FileType', {
|
|||
end,
|
||||
})
|
||||
|
||||
|
||||
vim.pack.add({ "https://github.com/mason-org/mason.nvim" })
|
||||
require("mason").setup()
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"layer": "top",
|
||||
"modules-left": ["niri/workspaces"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["bluetooth", "network", "wireplumber#source", "wireplumber#sink","idle_inhibitor", "battery"],
|
||||
"modules-right": ["bluetooth", "network", "wireplumber#source", "wireplumber#sink", "mpd", "idle_inhibitor", "battery"],
|
||||
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
|
|
@ -49,7 +49,9 @@
|
|||
"tooltip-format": "{node_name} ({volume}%)",
|
||||
"on-click-right": "wpsinkmenu.fish",
|
||||
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
||||
"scroll-step": 5
|
||||
"scroll-step": 5,
|
||||
"on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- --limit 1.5 && volumenotify.fish",
|
||||
"on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ --limit 1.5 && volumenotify.fish"
|
||||
},
|
||||
|
||||
"wireplumber#source": {
|
||||
|
|
@ -62,6 +64,39 @@
|
|||
"scroll-step": 5
|
||||
},
|
||||
|
||||
"mpd": {
|
||||
"format": "{stateIcon}",
|
||||
"format-stopped": "",
|
||||
"format-disconnected": "",
|
||||
"tooltip-format": "{artist} - {album} - {title}\n{elapsedTime:%M:%S}/{totalTime:%M:%S}\n{consumeIcon} {randomIcon} {repeatIcon} {singleIcon}",
|
||||
"state-icons": {
|
||||
"playing": "",
|
||||
"paused": ""
|
||||
},
|
||||
"consume-icons": {
|
||||
"on": "",
|
||||
"off": ""
|
||||
},
|
||||
"random-icons": {
|
||||
"on": "",
|
||||
"off": ""
|
||||
},
|
||||
"repeat-icons": {
|
||||
"on": "",
|
||||
"off": ""
|
||||
},
|
||||
"single-icons": {
|
||||
"on": "",
|
||||
"off": ""
|
||||
},
|
||||
"on-click": "mpc toggle",
|
||||
"on-click-middle": "mpc stop",
|
||||
"on-click-right": "mpdmenu.fish",
|
||||
"on-scroll-down": "mpc volume -5 && mpdvolumenotify.fish",
|
||||
"on-scroll-up": "mpc volume +5 && mpdvolumenotify.fish"
|
||||
|
||||
},
|
||||
|
||||
"battery": {
|
||||
"interval": 60,
|
||||
"states": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue