fixing stuff
This commit is contained in:
parent
dd9e387336
commit
ca4b8704b7
18 changed files with 1016 additions and 1224 deletions
|
@ -1,447 +0,0 @@
|
|||
## ____ __
|
||||
## / __ \_________ _/ /_____
|
||||
## / / / / ___/ __ `/ //_/ _ \
|
||||
## / /_/ / / / /_/ / ,< / __/ Clay Gomera (Drake)
|
||||
## /_____/_/ \__,_/_/|_|\___/ My custom alacritty config
|
||||
##
|
||||
|
||||
## Set colorschemes
|
||||
|
||||
#######################################
|
||||
## Alacritty colorschemes ##
|
||||
#######################################
|
||||
schemes:
|
||||
### Doom One ###
|
||||
doom-one: &doom-one
|
||||
primary:
|
||||
background: '#282c34'
|
||||
foreground: '#bbc2cf'
|
||||
cursor:
|
||||
text: CellBackground
|
||||
cursor: '#528bff'
|
||||
selection:
|
||||
text: CellForeground
|
||||
background: '#3e4451'
|
||||
normal:
|
||||
black: '#1c1f24'
|
||||
red: '#ff6c6b'
|
||||
green: '#98be65'
|
||||
yellow: '#da8548'
|
||||
blue: '#51afef'
|
||||
magenta: '#c678dd'
|
||||
cyan: '#5699af'
|
||||
white: '#202328'
|
||||
bright:
|
||||
black: '#5b6268'
|
||||
red: '#da8548'
|
||||
green: '#4db5bd'
|
||||
yellow: '#ecbe7b'
|
||||
blue: '#3071db' # This is 2257a0 in Doom Emacs but I lightened it.
|
||||
magenta: '#a9a1e1'
|
||||
cyan: '#46d9ff'
|
||||
white: '#dfdfdf'
|
||||
|
||||
### Tokyo Night ###
|
||||
tokyo-night: &tokyo-night
|
||||
# Default colors
|
||||
primary:
|
||||
background: '#1a1b26'
|
||||
foreground: '#a9b1d6'
|
||||
|
||||
# Normal colors
|
||||
normal:
|
||||
black: '#32344a'
|
||||
red: '#f7768e'
|
||||
green: '#9ece6a'
|
||||
yellow: '#e0af68'
|
||||
blue: '#34548a'
|
||||
magenta: '#ad8ee6'
|
||||
cyan: '#449dab'
|
||||
white: '#9699a8'
|
||||
|
||||
# Bright colors
|
||||
bright:
|
||||
black: '#444b6a'
|
||||
red: '#ff7a93'
|
||||
green: '#b9f27c'
|
||||
yellow: '#ff9e64'
|
||||
blue: '#7da6ff'
|
||||
magenta: '#bb9af7'
|
||||
cyan: '#0db9d7'
|
||||
white: '#acb0d0'
|
||||
|
||||
|
||||
### Dracula ###
|
||||
dracula: &dracula
|
||||
primary:
|
||||
background: '#282a36'
|
||||
foreground: '#f8f8f2'
|
||||
cursor:
|
||||
text: CellBackground
|
||||
cursor: CellForeground
|
||||
vi_mode_cursor:
|
||||
text: CellBackground
|
||||
cursor: CellForeground
|
||||
search:
|
||||
matches:
|
||||
foreground: '#44475a'
|
||||
background: '#50fa7b'
|
||||
focused_match:
|
||||
foreground: '#44475a'
|
||||
background: '#ffb86c'
|
||||
bar:
|
||||
background: '#282a36'
|
||||
foreground: '#f8f8f2'
|
||||
line_indicator:
|
||||
foreground: None
|
||||
background: None
|
||||
selection:
|
||||
text: CellForeground
|
||||
background: '#44475a'
|
||||
normal:
|
||||
black: '#000000'
|
||||
red: '#ff5555'
|
||||
green: '#50fa7b'
|
||||
yellow: '#f1fa8c'
|
||||
blue: '#bd93f9'
|
||||
magenta: '#ff79c6'
|
||||
cyan: '#8be9fd'
|
||||
white: '#bfbfbf'
|
||||
bright:
|
||||
black: '#4d4d4d'
|
||||
red: '#ff6e67'
|
||||
green: '#5af78e'
|
||||
yellow: '#f4f99d'
|
||||
blue: '#caa9fa'
|
||||
magenta: '#ff92d0'
|
||||
cyan: '#9aedfe'
|
||||
white: '#e6e6e6'
|
||||
dim:
|
||||
black: '#14151b'
|
||||
red: '#ff2222'
|
||||
green: '#1ef956'
|
||||
yellow: '#ebf85b'
|
||||
blue: '#4d5b86'
|
||||
magenta: '#ff46b0'
|
||||
cyan: '#59dffc'
|
||||
white: '#e6e6d1'
|
||||
|
||||
### Gruvbox dark ###
|
||||
gruvbox-dark: &gruvbox-dark
|
||||
# Default colors
|
||||
primary:
|
||||
# hard contrast: background = '0x1d2021'
|
||||
background: '#1d2021'
|
||||
# soft contrast: background = '0x32302f'
|
||||
foreground: '#ebdbb2'
|
||||
|
||||
# Normal colors
|
||||
normal:
|
||||
black: '#282828'
|
||||
red: '#cc241d'
|
||||
green: '#98971a'
|
||||
yellow: '#d79921'
|
||||
blue: '#458588'
|
||||
magenta: '#b16286'
|
||||
cyan: '#689d6a'
|
||||
white: '#a89984'
|
||||
|
||||
# Bright colors
|
||||
bright:
|
||||
black: '#928374'
|
||||
red: '#fb4934'
|
||||
green: '#b8bb26'
|
||||
yellow: '#fabd2f'
|
||||
blue: '#83a598'
|
||||
magenta: '#d3869b'
|
||||
cyan: '#8ec07c'
|
||||
white: '#ebdbb2'
|
||||
|
||||
### Monokai ###
|
||||
monokai-pro: &monokai-pro
|
||||
# Default colors
|
||||
primary:
|
||||
background: '#2D2A2E'
|
||||
foreground: '#FCFCFA'
|
||||
|
||||
# Normal colors
|
||||
normal:
|
||||
black: '#403E41'
|
||||
red: '#FF6188'
|
||||
green: '#A9DC76'
|
||||
yellow: '#FFD866'
|
||||
blue: '#FC9867'
|
||||
magenta: '#AB9DF2'
|
||||
cyan: '#78DCE8'
|
||||
white: '#FCFCFA'
|
||||
|
||||
# Bright colors
|
||||
bright:
|
||||
black: '#727072'
|
||||
red: '#FF6188'
|
||||
green: '#A9DC76'
|
||||
yellow: '#FFD866'
|
||||
blue: '#FC9867'
|
||||
magenta: '#AB9DF2'
|
||||
cyan: '#78DCE8'
|
||||
white: '#FCFCFA'
|
||||
|
||||
### Nord ###
|
||||
nord: &nord
|
||||
# Default colors
|
||||
primary:
|
||||
background: '#2E3440'
|
||||
foreground: '#D8DEE9'
|
||||
|
||||
# Normal colors
|
||||
normal:
|
||||
black: '#3B4252'
|
||||
red: '#BF616A'
|
||||
green: '#A3BE8C'
|
||||
yellow: '#EBCB8B'
|
||||
blue: '#81A1C1'
|
||||
magenta: '#B48EAD'
|
||||
cyan: '#88C0D0'
|
||||
white: '#E5E9F0'
|
||||
|
||||
# Bright colors
|
||||
bright:
|
||||
black: '#4C566A'
|
||||
red: '#BF616A'
|
||||
green: '#A3BE8C'
|
||||
yellow: '#EBCB8B'
|
||||
blue: '#81A1C1'
|
||||
magenta: '#B48EAD'
|
||||
cyan: '#8FBCBB'
|
||||
white: '#ECEFF4'
|
||||
|
||||
### Oceanic Next ###
|
||||
oceanic-next: &oceanic-next
|
||||
# Default colors
|
||||
primary:
|
||||
background: '#1b2b34'
|
||||
foreground: '#d8dee9'
|
||||
|
||||
# Colors the cursor will use if `custom_cursor_colors` is true
|
||||
cursor:
|
||||
text: '#1b2b34'
|
||||
cursor: '#ffffff'
|
||||
|
||||
# Normal colors
|
||||
normal:
|
||||
black: '#343d46'
|
||||
red: '#EC5f67'
|
||||
green: '#99C794'
|
||||
yellow: '#FAC863'
|
||||
blue: '#6699cc'
|
||||
magenta: '#c594c5'
|
||||
cyan: '#5fb3b3'
|
||||
white: '#d8dee9'
|
||||
|
||||
# Bright colors
|
||||
bright:
|
||||
black: '#343d46'
|
||||
red: '#EC5f67'
|
||||
green: '#99C794'
|
||||
yellow: '#FAC863'
|
||||
blue: '#6699cc'
|
||||
magenta: '#c594c5'
|
||||
cyan: '#5fb3b3'
|
||||
white: '#d8dee9'
|
||||
|
||||
### Palenight ###
|
||||
palenight: &palenight
|
||||
# Default colors
|
||||
primary:
|
||||
background: '#292d3e'
|
||||
foreground: '#d0d0d0'
|
||||
|
||||
# Normal colors
|
||||
normal:
|
||||
black: '#292d3e'
|
||||
red: '#f07178'
|
||||
green: '#c3e88d'
|
||||
yellow: '#ffcb6b'
|
||||
blue: '#82aaff'
|
||||
magenta: '#c792ea'
|
||||
cyan: '#89ddff'
|
||||
white: '#d0d0d0'
|
||||
|
||||
# Bright colors
|
||||
bright:
|
||||
black: '#434758'
|
||||
red: '#ff8b92'
|
||||
green: '#ddffa7'
|
||||
yellow: '#ffe585'
|
||||
blue: '#9cc4ff'
|
||||
magenta: '#e1acff'
|
||||
cyan: '#a3f7ff'
|
||||
white: '#ffffff'
|
||||
|
||||
### Solarized Dark ###
|
||||
solarized-dark: &solarized-dark
|
||||
# Default colors
|
||||
primary:
|
||||
background: '#002b36' # base03
|
||||
foreground: '#839496' # base0
|
||||
|
||||
# Cursor colors
|
||||
cursor:
|
||||
text: '#002b36' # base03
|
||||
cursor: '#839496' # base0
|
||||
|
||||
# Normal colors
|
||||
normal:
|
||||
black: '#073642' # base02
|
||||
red: '#dc322f' # red
|
||||
green: '#859900' # green
|
||||
yellow: '#b58900' # yellow
|
||||
blue: '#268bd2' # blue
|
||||
magenta: '#d33682' # magenta
|
||||
cyan: '#2aa198' # cyan
|
||||
white: '#eee8d5' # base2
|
||||
|
||||
# Bright colors
|
||||
bright:
|
||||
black: '#002b36' # base03
|
||||
red: '#cb4b16' # orange
|
||||
green: '#586e75' # base01
|
||||
yellow: '#657b83' # base00
|
||||
blue: '#839496' # base0
|
||||
magenta: '#6c71c4' # violet
|
||||
cyan: '#93a1a1' # base1
|
||||
white: '#fdf6e3' # base3
|
||||
|
||||
### Solarized Light ###
|
||||
solarized-light: &solarized-light
|
||||
# Default colors
|
||||
primary:
|
||||
background: '#fdf6e3' # base3
|
||||
foreground: '#657b83' # base00
|
||||
|
||||
# Cursor colors
|
||||
cursor:
|
||||
text: '#fdf6e3' # base3
|
||||
cursor: '#657b83' # base00
|
||||
|
||||
# Normal colors
|
||||
normal:
|
||||
black: '#073642' # base02
|
||||
red: '#dc322f' # red
|
||||
green: '#859900' # green
|
||||
yellow: '#b58900' # yellow
|
||||
blue: '#268bd2' # blue
|
||||
magenta: '#d33682' # magenta
|
||||
cyan: '#2aa198' # cyan
|
||||
white: '#eee8d5' # base2
|
||||
|
||||
# Bright colors
|
||||
bright:
|
||||
black: '#002b36' # base03
|
||||
red: '#cb4b16' # orange
|
||||
green: '#586e75' # base01
|
||||
yellow: '#657b83' # base00
|
||||
blue: '#839496' # base0
|
||||
magenta: '#6c71c4' # violet
|
||||
cyan: '#93a1a1' # base1
|
||||
white: '#fdf6e3' # base3
|
||||
|
||||
### Tomorrow Night ###
|
||||
tomorrow-night: &tomorrow-night
|
||||
# Default colors
|
||||
primary:
|
||||
background: '#1d1f21'
|
||||
foreground: '#c5c8c6'
|
||||
|
||||
# Colors the cursor will use if `custom_cursor_colors` is true
|
||||
cursor:
|
||||
text: '#1d1f21'
|
||||
cursor: '#ffffff'
|
||||
|
||||
# Normal colors
|
||||
normal:
|
||||
black: '#1d1f21'
|
||||
red: '#cc6666'
|
||||
green: '#b5bd68'
|
||||
yellow: '#e6c547'
|
||||
blue: '#81a2be'
|
||||
magenta: '#b294bb'
|
||||
cyan: '#70c0ba'
|
||||
white: '#373b41'
|
||||
|
||||
# Bright colors
|
||||
bright:
|
||||
black: '#666666'
|
||||
red: '#ff3334'
|
||||
green: '#9ec400'
|
||||
yellow: '#f0c674'
|
||||
blue: '#81a2be'
|
||||
magenta: '#b77ee0'
|
||||
cyan: '#54ced6'
|
||||
white: '#282a2e'
|
||||
|
||||
colors: *gruvbox-dark
|
||||
|
||||
## Set environment variables
|
||||
env:
|
||||
TERM: xterm-256color
|
||||
|
||||
## Window settigns
|
||||
window:
|
||||
opacity: 0.95
|
||||
padding:
|
||||
x: 6
|
||||
y: 6
|
||||
dynamic_padding: false
|
||||
title: Alacritty
|
||||
class:
|
||||
instance: Alacritty
|
||||
general: Alacritty
|
||||
dimensions:
|
||||
columns: 160
|
||||
lines: 44
|
||||
|
||||
## Scrolling settings
|
||||
scrolling:
|
||||
history: 5000
|
||||
|
||||
## Font settings
|
||||
font:
|
||||
normal:
|
||||
family: mononoki Nerd Font
|
||||
style: Regular
|
||||
bold:
|
||||
family: mononoki Nerd Font
|
||||
style: Bold
|
||||
italic:
|
||||
family: mononoki Nerd Font
|
||||
style: Italic
|
||||
bold_italic:
|
||||
family: mononoki Nerd Font
|
||||
style: Bold Italic
|
||||
size: 8
|
||||
offset:
|
||||
x: 0
|
||||
y: 1
|
||||
draw_bold_text_with_bright_colors: true
|
||||
|
||||
cursor:
|
||||
style: Underline
|
||||
|
||||
shell:
|
||||
program: /bin/fish
|
||||
|
||||
key_bindings:
|
||||
# (Windows, Linux, and BSD only)
|
||||
- { key: V, mods: Control|Shift, action: Paste }
|
||||
- { key: C, mods: Control|Shift, action: Copy }
|
||||
- { key: Insert, mods: Shift, action: PasteSelection }
|
||||
- { key: Key0, mods: Control, action: ResetFontSize }
|
||||
- { key: Equals, mods: Control, action: IncreaseFontSize }
|
||||
- { key: Plus, mods: Control, action: IncreaseFontSize }
|
||||
- { key: Minus, mods: Control, action: DecreaseFontSize }
|
||||
- { key: F11, mods: None, action: ToggleFullscreen }
|
||||
- { key: L, mods: Control, action: ClearLogNotice }
|
||||
- { key: L, mods: Control, chars: "\x0c" }
|
||||
- { key: Home, mods: Shift, action: ScrollToTop, mode: ~Alt }
|
||||
- { key: End, mods: Shift, action: ScrollToBottom, mode: ~Alt }
|
|
@ -5,24 +5,27 @@ local apps = {
|
|||
drunner = "rofi -show drun -show-icons", -- Desktop runner
|
||||
runner = "rofi -show run", -- Normal runner
|
||||
runner_power = "$HOME/.config/rofi/scripts/rofi_power", -- Power manager
|
||||
runner_mount = "$HOME/.config/rofi/scripts/rofi_mount", -- Drive mounter
|
||||
runner_blue = "$HOME/.config/rofi/scripts/rofi_blue", -- Bluetooth manager
|
||||
runner_wifi = "$HOME/.config/rofi/scripts/rofi_wifi", -- Wifi manager
|
||||
runner_scrot = "$HOME/.config/rofi/scripts/rofi_scrot", -- Screenshots manager
|
||||
runner_emoji = "$HOME/.config/rofi/scripts/rofi_emoji", -- Emojis manager
|
||||
runner_wall = "$HOME/.config/rofi/scripts/rofi_wall", -- Wallpapers manager
|
||||
-- Other scripts
|
||||
ytfzf = "wezterm start --class ytfzf -- ytfzf -flstT chafa", -- Youtube
|
||||
ytfzf_music = "wezterm start --class ytfzf_music -- ytfzf -mlstT chafa", -- Youtube Music
|
||||
vidytfzf = "wezterm start --class vidytfzf -- ytfzf -flstT chafa", -- Youtube
|
||||
musytfzf = "wezterm start --class musytfzf -- ytfzf -mlstT chafa", -- Youtube Music
|
||||
ani_cli = "wezterm start --class ani-cli -- ani-cli", -- Anime
|
||||
flix_cli = "wezterm start --class flix-cli -- flix-cli", -- Movies
|
||||
tut = "wezterm start --class tut -- tut", -- Mastodon
|
||||
newsboat = "wezterm start --class newsboat -- newsboat -u ~/.config/newsboat/urls", -- Newsboat
|
||||
newsboat = "wezterm start --class newsboat -- newsboat", -- Newsboat
|
||||
-- Selected apps
|
||||
editor = "neovide --neovim-bin ./.local/bin/lvim", -- TAG 1
|
||||
file = "wezterm start --class vifm -- ./.config/vifm/scripts/vifmrun", -- TAG 2
|
||||
editor = "neovide --neovim-bin .local/bin/lvim", -- TAG 1
|
||||
file = "wezterm start --class vifm -- vifm", -- TAG 2
|
||||
browser = "firefox", -- TAG 3
|
||||
chat = "revolt-desktop", -- TAG 4
|
||||
chat = "signal-desktop", -- TAG 4
|
||||
music = "wezterm start --class cmus -- cmus", -- TAG 5
|
||||
office = "libreoffice", -- TAG 8
|
||||
videoeditor = "org.kde.kdenlive", -- TAG 6
|
||||
imageeditor = "org.kde.krita", -- TAG 7
|
||||
noteapp = "com.notesnook.Notesnook", -- TAG 8
|
||||
game = "retroarch" -- TAG 9
|
||||
}
|
||||
return apps
|
||||
|
|
|
@ -9,7 +9,8 @@ modkey = "Mod4"
|
|||
conkey = "Control"
|
||||
shikey = "Shift"
|
||||
|
||||
--[[ Main keybinds ]]--
|
||||
--[[ Main keybinds ]]
|
||||
--
|
||||
awful.keyboard.append_global_keybindings(
|
||||
{
|
||||
-- Show the help menu
|
||||
|
@ -17,7 +18,8 @@ awful.keyboard.append_global_keybindings(
|
|||
{ modkey },
|
||||
"s",
|
||||
hotkeys_popup.show_help,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Show Help Menu",
|
||||
group =
|
||||
"Main keybinds"
|
||||
|
@ -28,7 +30,8 @@ awful.keyboard.append_global_keybindings(
|
|||
{ modkey, conkey },
|
||||
"r",
|
||||
awesome.restart,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Reload Awesome",
|
||||
group =
|
||||
"Main keybinds"
|
||||
|
@ -38,10 +41,11 @@ awful.keyboard.append_global_keybindings(
|
|||
awful.key(
|
||||
{ modkey },
|
||||
"Return",
|
||||
function ()
|
||||
function()
|
||||
awful.spawn(apps.terminal)
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Open a terminal",
|
||||
group =
|
||||
"Main keybinds"
|
||||
|
@ -49,9 +53,11 @@ awful.keyboard.append_global_keybindings(
|
|||
),
|
||||
}
|
||||
)
|
||||
--[[ ]]--
|
||||
--[[ ]]
|
||||
--
|
||||
|
||||
--[[ Tags related keybindings ]]--
|
||||
--[[ Tags related keybindings ]]
|
||||
--
|
||||
awful.keyboard.append_global_keybindings(
|
||||
{
|
||||
-- Switch to previous tag
|
||||
|
@ -59,7 +65,8 @@ awful.keyboard.append_global_keybindings(
|
|||
{ modkey },
|
||||
"Left",
|
||||
awful.tag.viewprev,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Quickly switch to previous tag",
|
||||
group =
|
||||
"Tag keybinds"
|
||||
|
@ -70,7 +77,8 @@ awful.keyboard.append_global_keybindings(
|
|||
{ modkey },
|
||||
"Right",
|
||||
awful.tag.viewnext,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Quickly switch to next tag",
|
||||
group =
|
||||
"Tag keybinds"
|
||||
|
@ -81,7 +89,8 @@ awful.keyboard.append_global_keybindings(
|
|||
{ modkey },
|
||||
"Escape",
|
||||
awful.tag.history.restore,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Go back to previus tag (from history)",
|
||||
group =
|
||||
"Tag keybinds"
|
||||
|
@ -93,7 +102,7 @@ awful.keyboard.append_global_keybindings(
|
|||
keygroup = "numrow",
|
||||
description = "Switch tags with number keys from {1 to 9}",
|
||||
group = "Tag keybinds",
|
||||
on_press = function (index)
|
||||
on_press = function(index)
|
||||
local screen = awful.screen.focused()
|
||||
local tag = screen.tags[index]
|
||||
if tag then
|
||||
|
@ -107,7 +116,7 @@ awful.keyboard.append_global_keybindings(
|
|||
keygroup = "numrow",
|
||||
description = "Quickly view contents in another tag with number keys from {1 to 9}",
|
||||
group = "Tag keybinds",
|
||||
on_press = function (index)
|
||||
on_press = function(index)
|
||||
local screen = awful.screen.focused()
|
||||
local tag = screen.tags[index]
|
||||
if tag then
|
||||
|
@ -121,7 +130,7 @@ awful.keyboard.append_global_keybindings(
|
|||
keygroup = "numrow",
|
||||
description = "Move focused window to another tag with number keys from {1 to 9}",
|
||||
group = "Tag keybinds",
|
||||
on_press = function (index)
|
||||
on_press = function(index)
|
||||
if client.focus then
|
||||
local tag = client.focus.screen.tags[index]
|
||||
if tag then
|
||||
|
@ -136,7 +145,7 @@ awful.keyboard.append_global_keybindings(
|
|||
keygroup = "numrow",
|
||||
description = "View focused window on more than one tag with number keys from {1 to 9}",
|
||||
group = "Tag keybinds",
|
||||
on_press = function (index)
|
||||
on_press = function(index)
|
||||
if client.focus then
|
||||
local tag = client.focus.screen.tags[index]
|
||||
if tag then
|
||||
|
@ -147,19 +156,22 @@ awful.keyboard.append_global_keybindings(
|
|||
},
|
||||
}
|
||||
)
|
||||
--[[ ]]--
|
||||
--[[ ]]
|
||||
--
|
||||
|
||||
--[[ Focus related keybindings ]]--
|
||||
--[[ Focus related keybindings ]]
|
||||
--
|
||||
awful.keyboard.append_global_keybindings(
|
||||
{
|
||||
-- Focus next window by index
|
||||
awful.key(
|
||||
{ modkey },
|
||||
"j",
|
||||
function ()
|
||||
awful.client.focus.byidx( 1)
|
||||
function()
|
||||
awful.client.focus.byidx(1)
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Focus the next window by index",
|
||||
group =
|
||||
"Focus keybinds"
|
||||
|
@ -169,10 +181,11 @@ awful.keyboard.append_global_keybindings(
|
|||
awful.key(
|
||||
{ modkey },
|
||||
"k",
|
||||
function ()
|
||||
function()
|
||||
awful.client.focus.byidx(-1)
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Focus the previous window by index",
|
||||
group =
|
||||
"Focus keybinds"
|
||||
|
@ -182,13 +195,14 @@ awful.keyboard.append_global_keybindings(
|
|||
awful.key(
|
||||
{ modkey },
|
||||
"Tab",
|
||||
function ()
|
||||
function()
|
||||
awful.client.focus.history.previous()
|
||||
if client.focus then
|
||||
client.focus:raise()
|
||||
end
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Focus back the previous focused window",
|
||||
group =
|
||||
"Focus keybinds"
|
||||
|
@ -198,10 +212,11 @@ awful.keyboard.append_global_keybindings(
|
|||
awful.key(
|
||||
{ modkey, conkey },
|
||||
"j",
|
||||
function ()
|
||||
function()
|
||||
awful.screen.focus_relative(1)
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Focus the next screen",
|
||||
group =
|
||||
"Focus keybinds"
|
||||
|
@ -211,10 +226,11 @@ awful.keyboard.append_global_keybindings(
|
|||
awful.key(
|
||||
{ modkey, conkey },
|
||||
"k",
|
||||
function ()
|
||||
function()
|
||||
awful.screen.focus_relative(-1)
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Focus the previous screen",
|
||||
group =
|
||||
"Focus keybinds"
|
||||
|
@ -222,19 +238,22 @@ awful.keyboard.append_global_keybindings(
|
|||
),
|
||||
}
|
||||
)
|
||||
--[[ ]]--
|
||||
--[[ ]]
|
||||
--
|
||||
|
||||
--[[ Layout keybinds ]]--
|
||||
--[[ Layout keybinds ]]
|
||||
--
|
||||
awful.keyboard.append_global_keybindings(
|
||||
{
|
||||
-- Swap with next window by index
|
||||
awful.key(
|
||||
{ modkey, shikey },
|
||||
"j",
|
||||
function ()
|
||||
function()
|
||||
awful.client.swap.byidx(1)
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Swap with next window in current layout by index",
|
||||
group =
|
||||
"Layout keybinds"
|
||||
|
@ -244,10 +263,11 @@ awful.keyboard.append_global_keybindings(
|
|||
awful.key(
|
||||
{ modkey, shikey },
|
||||
"k",
|
||||
function ()
|
||||
function()
|
||||
awful.client.swap.byidx(-1)
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Swap with previous window in current layout by index",
|
||||
group =
|
||||
"Layout keybinds"
|
||||
|
@ -257,10 +277,11 @@ awful.keyboard.append_global_keybindings(
|
|||
awful.key(
|
||||
{ modkey },
|
||||
"l",
|
||||
function ()
|
||||
function()
|
||||
awful.tag.incmwfact(0.05)
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Increase master window width size",
|
||||
group =
|
||||
"Layout keybinds"
|
||||
|
@ -270,10 +291,11 @@ awful.keyboard.append_global_keybindings(
|
|||
awful.key(
|
||||
{ modkey },
|
||||
"h",
|
||||
function ()
|
||||
function()
|
||||
awful.tag.incmwfact(-0.05)
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Decrease master window width size",
|
||||
group =
|
||||
"Layout keybinds"
|
||||
|
@ -283,10 +305,11 @@ awful.keyboard.append_global_keybindings(
|
|||
awful.key(
|
||||
{ modkey, shikey },
|
||||
"h",
|
||||
function ()
|
||||
function()
|
||||
awful.tag.incnmaster(1, nil, true)
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Increase the number of master windows",
|
||||
group =
|
||||
"Layout keybinds"
|
||||
|
@ -296,10 +319,11 @@ awful.keyboard.append_global_keybindings(
|
|||
awful.key(
|
||||
{ modkey, shikey },
|
||||
"l",
|
||||
function ()
|
||||
function()
|
||||
awful.tag.incnmaster(-1, nil, true)
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Decrease the number of master windows",
|
||||
group =
|
||||
"Layout keybinds"
|
||||
|
@ -309,10 +333,11 @@ awful.keyboard.append_global_keybindings(
|
|||
awful.key(
|
||||
{ modkey, conkey },
|
||||
"h",
|
||||
function ()
|
||||
function()
|
||||
awful.tag.incncol(1, nil, true)
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Increase the number of columns in layout",
|
||||
group =
|
||||
"Layout keybinds"
|
||||
|
@ -322,10 +347,11 @@ awful.keyboard.append_global_keybindings(
|
|||
awful.key(
|
||||
{ modkey, conkey },
|
||||
"l",
|
||||
function ()
|
||||
function()
|
||||
awful.tag.incncol(-1, nil, true)
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Decrease the number of columns in layout",
|
||||
group =
|
||||
"Layout keybinds"
|
||||
|
@ -335,10 +361,11 @@ awful.keyboard.append_global_keybindings(
|
|||
awful.key(
|
||||
{ modkey },
|
||||
"space",
|
||||
function ()
|
||||
function()
|
||||
awful.layout.inc(1)
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Switch to the next layout",
|
||||
group =
|
||||
"Layout keybinds"
|
||||
|
@ -348,10 +375,11 @@ awful.keyboard.append_global_keybindings(
|
|||
awful.key(
|
||||
{ modkey, shikey },
|
||||
"space",
|
||||
function ()
|
||||
function()
|
||||
awful.layout.inc(-1)
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Switch to previous layout",
|
||||
group =
|
||||
"Layout keybinds"
|
||||
|
@ -363,7 +391,7 @@ awful.keyboard.append_global_keybindings(
|
|||
keygroup = "numpad",
|
||||
description = "Select layouts directly using the numpad",
|
||||
group = "layout",
|
||||
on_press = function (index)
|
||||
on_press = function(index)
|
||||
local t = awful.screen.focused().selected_tag
|
||||
if t then
|
||||
t.layout = t.layouts[index] or t.layout
|
||||
|
@ -374,7 +402,7 @@ awful.keyboard.append_global_keybindings(
|
|||
awful.key(
|
||||
{ modkey },
|
||||
"b",
|
||||
function ()
|
||||
function()
|
||||
for s in screen do
|
||||
s.mywibox.visible = not s.mywibox.visible
|
||||
if s.mybottomwibox then
|
||||
|
@ -382,7 +410,8 @@ awful.keyboard.append_global_keybindings(
|
|||
end
|
||||
end
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Toggle the bar",
|
||||
group =
|
||||
"Layout keybinds"
|
||||
|
@ -390,9 +419,11 @@ awful.keyboard.append_global_keybindings(
|
|||
),
|
||||
}
|
||||
)
|
||||
--[[ ]]--
|
||||
--[[ ]]
|
||||
--
|
||||
|
||||
--[[ Window keybinds ]]--
|
||||
--[[ Window keybinds ]]
|
||||
--
|
||||
client.connect_signal(
|
||||
"request::default_keybindings",
|
||||
function()
|
||||
|
@ -402,11 +433,12 @@ client.connect_signal(
|
|||
awful.key(
|
||||
{ modkey },
|
||||
"f",
|
||||
function (c)
|
||||
function(c)
|
||||
c.fullscreen = not c.fullscreen
|
||||
c:raise()
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Toggle fullscreen",
|
||||
group =
|
||||
"Window keybinds"
|
||||
|
@ -416,20 +448,23 @@ client.connect_signal(
|
|||
awful.key(
|
||||
{ modkey },
|
||||
"q",
|
||||
function (c)
|
||||
function(c)
|
||||
c:kill()
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Close focused window",
|
||||
group =
|
||||
"Window keybinds" }
|
||||
"Window keybinds"
|
||||
}
|
||||
),
|
||||
-- Toggle floating mode on focused window
|
||||
awful.key(
|
||||
{ modkey, conkey },
|
||||
"space",
|
||||
awful.client.floating.toggle,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Toggle floating mode on focused window",
|
||||
group =
|
||||
"Window keybinds"
|
||||
|
@ -439,12 +474,13 @@ client.connect_signal(
|
|||
awful.key(
|
||||
{ modkey, conkey },
|
||||
"Return",
|
||||
function (c)
|
||||
function(c)
|
||||
c:swap(
|
||||
awful.client.getmaster()
|
||||
)
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Move focused window to master",
|
||||
group =
|
||||
"Window keybinds"
|
||||
|
@ -454,10 +490,11 @@ client.connect_signal(
|
|||
awful.key(
|
||||
{ modkey },
|
||||
"o",
|
||||
function (c)
|
||||
function(c)
|
||||
c:move_to_screen()
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Move focused window to the next screen",
|
||||
group =
|
||||
"Window keybinds"
|
||||
|
@ -467,10 +504,11 @@ client.connect_signal(
|
|||
awful.key(
|
||||
{ modkey },
|
||||
"t",
|
||||
function (c)
|
||||
function(c)
|
||||
c.ontop = not c.ontop
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Toggle keep on top for focused window",
|
||||
group =
|
||||
"Window keybinds"
|
||||
|
@ -481,7 +519,8 @@ client.connect_signal(
|
|||
{ modkey },
|
||||
"u",
|
||||
awful.client.urgent.jumpto,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Quickly jump to urgent window",
|
||||
group =
|
||||
"Window keybinds"
|
||||
|
@ -491,55 +530,60 @@ client.connect_signal(
|
|||
)
|
||||
end
|
||||
)
|
||||
--[[ ]]--
|
||||
--[[ ]]
|
||||
--
|
||||
|
||||
--[[ Quick keybinds ]]
|
||||
awful.keyboard.append_global_keybindings(
|
||||
{
|
||||
-- Volume
|
||||
awful.key(
|
||||
{ },
|
||||
{},
|
||||
"XF86AudioRaiseVolume",
|
||||
function()
|
||||
awful.spawn("pamixer -i 5")
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Increase volume by +5%",
|
||||
group =
|
||||
"Quick keybinds"
|
||||
}
|
||||
),
|
||||
awful.key(
|
||||
{ },
|
||||
{},
|
||||
"XF86AudioLowerVolume",
|
||||
function()
|
||||
awful.spawn("pamixer -d 5")
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Decrease volume by +5%",
|
||||
group =
|
||||
"Quick keybinds"
|
||||
}
|
||||
),
|
||||
awful.key(
|
||||
{ },
|
||||
{},
|
||||
"XF86AudioMute",
|
||||
function()
|
||||
awful.spawn("pamixer -t")
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Mute volume",
|
||||
group =
|
||||
"Quick keybinds"
|
||||
}
|
||||
),
|
||||
awful.key(
|
||||
{ },
|
||||
{},
|
||||
"XF86AudioMicMute",
|
||||
function()
|
||||
awful.spawn("pamixer --default-source -t")
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Mute microphone",
|
||||
group =
|
||||
"Quick keybinds"
|
||||
|
@ -547,24 +591,26 @@ awful.keyboard.append_global_keybindings(
|
|||
),
|
||||
-- Brightness
|
||||
awful.key(
|
||||
{ },
|
||||
{},
|
||||
"XF86MonBrightnessUp",
|
||||
function ()
|
||||
function()
|
||||
awful.spawn("xbacklight -inc 10")
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Increase brightness by +10%",
|
||||
group =
|
||||
"Quick keybinds"
|
||||
}
|
||||
),
|
||||
awful.key(
|
||||
{ },
|
||||
{},
|
||||
"XF86MonBrightnessDown",
|
||||
function ()
|
||||
function()
|
||||
awful.spawn("xbacklight -dec 10")
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Decrease brightness by +10%",
|
||||
group =
|
||||
"Quick keybinds"
|
||||
|
@ -572,12 +618,13 @@ awful.keyboard.append_global_keybindings(
|
|||
),
|
||||
-- Display configuration
|
||||
awful.key(
|
||||
{ },
|
||||
{},
|
||||
"XF86Display",
|
||||
function ()
|
||||
function()
|
||||
awful.spawn("arandr")
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Configure the display using arandr",
|
||||
group = "Quick keybinds"
|
||||
}
|
||||
|
@ -604,8 +651,12 @@ awful.keyboard.append_global_keybindings(
|
|||
awful.util.spawn(apps.chat) -- TAG 4
|
||||
elseif key == "5" then
|
||||
awful.util.spawn(apps.music) -- TAG 5
|
||||
elseif key == "6" then
|
||||
awful.util.spawn(apps.videoeditor) -- TAG 5
|
||||
elseif key == "7" then
|
||||
awful.util.spawn(apps.imageeditor) -- TAG 5
|
||||
elseif key == "8" then
|
||||
awful.util.spawn(apps.office) -- TAG 8
|
||||
awful.util.spawn(apps.noteapp) -- TAG 8
|
||||
elseif key == "9" then
|
||||
awful.util.spawn(apps.game) -- TAG 9
|
||||
end
|
||||
|
@ -613,7 +664,8 @@ awful.keyboard.append_global_keybindings(
|
|||
end
|
||||
)
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Launch apps with {Super + a} keychord and then numbers from {1 to 9}",
|
||||
group =
|
||||
"Quick keybinds"
|
||||
|
@ -640,7 +692,8 @@ awful.keyboard.append_global_keybindings(
|
|||
end
|
||||
)
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Change keyboard layout with {Super + x} keychord and then {e} for spanish and {u} for english",
|
||||
group =
|
||||
"Quick keybinds"
|
||||
|
@ -668,19 +721,25 @@ awful.keyboard.append_global_keybindings(
|
|||
awful.spawn.with_shell(apps.runner_wifi)
|
||||
elseif key == "s" then
|
||||
awful.spawn.with_shell(apps.runner_scrot)
|
||||
elseif key == "z" then
|
||||
elseif key == "e" then
|
||||
awful.spawn.with_shell(apps.runner_emoji)
|
||||
elseif key == "w" then
|
||||
awful.spawn.with_shell(apps.runner_wall)
|
||||
elseif key == "m" then
|
||||
awful.spawn.with_shell(apps.runner_mount)
|
||||
elseif key == "b" then
|
||||
awful.spawn.with_shell(apps.runner_blue)
|
||||
end
|
||||
awful.keygrabber.stop(grabber)
|
||||
end
|
||||
)
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Launch quick action menus with {Super + p} keychord and then {d, r, e, q, i, b, s, z, w}",
|
||||
group =
|
||||
"Quick keybinds" }
|
||||
"Quick keybinds"
|
||||
}
|
||||
),
|
||||
-- Multimedia scripts (Super + t followed by KEY)
|
||||
awful.key(
|
||||
|
@ -695,23 +754,22 @@ awful.keyboard.append_global_keybindings(
|
|||
return
|
||||
end
|
||||
if key == "y" then
|
||||
awful.util.spawn(apps.ytfzf)
|
||||
elseif key == "y" then
|
||||
awful.util.spawn(apps.ytfzf_music)
|
||||
awful.util.spawn(apps.vidytfzf)
|
||||
elseif key == "m" then
|
||||
awful.util.spawn(apps.musytfzf)
|
||||
elseif key == "a" then
|
||||
awful.util.spawn(apps.ani_cli)
|
||||
elseif key == "f" then
|
||||
awful.util.spawn(apps.flix_cli)
|
||||
elseif key == "t" then
|
||||
awful.util.spawn(apps.tut)
|
||||
elseif key == "n" then
|
||||
elseif key == "r" then
|
||||
awful.util.spawn(apps.newsboat)
|
||||
end
|
||||
awful.keygrabber.stop(grabber)
|
||||
end
|
||||
)
|
||||
end,
|
||||
{ description =
|
||||
{
|
||||
description =
|
||||
"Launch multimedia terminal scripts with {Super + t} and then {m, y, a, f}",
|
||||
group =
|
||||
"Quick keybinds"
|
||||
|
@ -720,4 +778,3 @@ awful.keyboard.append_global_keybindings(
|
|||
}
|
||||
)
|
||||
--[[ ]]
|
||||
|
||||
|
|
|
@ -6,16 +6,16 @@ local theme = require("ui.theme")
|
|||
-- Textclock widget
|
||||
local mytextclock = wibox.widget.textclock()
|
||||
screen.connect_signal("request::desktop_decoration", function(s)
|
||||
-- Tag names for each screen
|
||||
-- Tag names for each screen
|
||||
awful.tag(
|
||||
{
|
||||
"", -- EDITOR
|
||||
"", -- FILE MANAGER
|
||||
"", -- EDITOR
|
||||
"", -- FILE MANAGER
|
||||
"", -- WEB BROWSER
|
||||
"", -- CHAT
|
||||
"", -- MUSIC
|
||||
"", -- VIDEO
|
||||
"", -- IMAGE/EDIT TOOLS
|
||||
"", -- VIDEO
|
||||
"", -- IMAGE/EDIT TOOLS
|
||||
"", -- OFFICE
|
||||
"" -- GAMES
|
||||
},
|
||||
|
@ -23,7 +23,7 @@ screen.connect_signal("request::desktop_decoration", function(s)
|
|||
awful.layout.layouts[1]
|
||||
)
|
||||
|
||||
-- Layoutbox widget
|
||||
-- Layoutbox widget
|
||||
s.mylayoutbox = {
|
||||
widget = wibox.container.background,
|
||||
bg = theme.bg_normal,
|
||||
|
@ -32,30 +32,30 @@ screen.connect_signal("request::desktop_decoration", function(s)
|
|||
screen = s,
|
||||
buttons = {
|
||||
awful.button(
|
||||
{ },
|
||||
{},
|
||||
1,
|
||||
function ()
|
||||
function()
|
||||
awful.layout.inc(1)
|
||||
end
|
||||
),
|
||||
awful.button(
|
||||
{ },
|
||||
{},
|
||||
3,
|
||||
function ()
|
||||
function()
|
||||
awful.layout.inc(-1)
|
||||
end
|
||||
),
|
||||
awful.button(
|
||||
{ },
|
||||
{},
|
||||
4,
|
||||
function ()
|
||||
function()
|
||||
awful.layout.inc(-1)
|
||||
end
|
||||
),
|
||||
awful.button(
|
||||
{ },
|
||||
{},
|
||||
5,
|
||||
function ()
|
||||
function()
|
||||
awful.layout.inc(1)
|
||||
end
|
||||
),
|
||||
|
@ -63,7 +63,7 @@ screen.connect_signal("request::desktop_decoration", function(s)
|
|||
}
|
||||
}
|
||||
|
||||
-- Taglist widget
|
||||
-- Taglist widget
|
||||
s.mytaglist = {
|
||||
widget = wibox.container.background,
|
||||
bg = theme.taglist_bg,
|
||||
|
@ -73,7 +73,7 @@ screen.connect_signal("request::desktop_decoration", function(s)
|
|||
filter = awful.widget.taglist.filter.all,
|
||||
buttons = {
|
||||
awful.button(
|
||||
{ },
|
||||
{},
|
||||
1,
|
||||
function(t)
|
||||
t:view_only()
|
||||
|
@ -89,7 +89,7 @@ screen.connect_signal("request::desktop_decoration", function(s)
|
|||
end
|
||||
),
|
||||
awful.button(
|
||||
{ },
|
||||
{},
|
||||
3,
|
||||
awful.tag.viewtoggle
|
||||
),
|
||||
|
@ -103,14 +103,14 @@ screen.connect_signal("request::desktop_decoration", function(s)
|
|||
end
|
||||
),
|
||||
awful.button(
|
||||
{ },
|
||||
{},
|
||||
4,
|
||||
function(t)
|
||||
awful.tag.viewprev(t.screen)
|
||||
end
|
||||
),
|
||||
awful.button(
|
||||
{ },
|
||||
{},
|
||||
5,
|
||||
function(t)
|
||||
awful.tag.viewnext(t.screen)
|
||||
|
@ -120,39 +120,39 @@ screen.connect_signal("request::desktop_decoration", function(s)
|
|||
}
|
||||
}
|
||||
|
||||
-- Prepare custom widgets
|
||||
-- Prepare custom widgets
|
||||
-- Volume widget
|
||||
s.volume =
|
||||
awful.widget.watch(
|
||||
".config/awesome/ui/widgets/volume",
|
||||
1 -- Update time in seconds
|
||||
2 -- Update time in seconds
|
||||
)
|
||||
-- Battery widget
|
||||
s.battery =
|
||||
awful.widget.watch(
|
||||
".config/awesome/ui/widgets/battery",
|
||||
10 -- update time in seconds
|
||||
60 -- update time in seconds
|
||||
)
|
||||
-- Wifi widget
|
||||
s.wifi =
|
||||
awful.widget.watch(
|
||||
".config/awesome/ui/widgets/wifi",
|
||||
10 -- Update time in seconds
|
||||
30 -- Update time in seconds
|
||||
)
|
||||
-- Brightness widget
|
||||
s.brightness =
|
||||
awful.widget.watch(
|
||||
".config/awesome/ui/widgets/brightness",
|
||||
1 -- Update time in seconds
|
||||
5 -- Update time in seconds
|
||||
)
|
||||
-- Keyboard layout widget
|
||||
s.layout =
|
||||
awful.widget.watch(
|
||||
".config/awesome/ui/widgets/layout",
|
||||
1 -- Update time in seconds
|
||||
2 -- Update time in seconds
|
||||
)
|
||||
|
||||
-- Prepare custom widgets container
|
||||
-- Prepare custom widgets container
|
||||
local custom_widget_container = {
|
||||
-- Keyboard layout widget
|
||||
wibox.container.background(wibox.widget.textbox(" "), theme.bar_bg_one),
|
||||
|
@ -176,18 +176,18 @@ screen.connect_signal("request::desktop_decoration", function(s)
|
|||
layout = wibox.layout.fixed.horizontal,
|
||||
}
|
||||
|
||||
-- Main right widget container with pill shape
|
||||
-- Main right widget container with pill shape
|
||||
local right_widgets = {
|
||||
custom_widget_container,
|
||||
widget = wibox.container.background,
|
||||
shape = gears.shape.rounded_rect,
|
||||
}
|
||||
|
||||
-- Wibar
|
||||
-- Wibar
|
||||
s.mywibox = awful.wibar {
|
||||
position = "top",
|
||||
height = (30),
|
||||
border_width = (10),
|
||||
border_width = (8),
|
||||
border_color = theme.bg_normal,
|
||||
screen = s,
|
||||
widget = {
|
||||
|
@ -220,5 +220,5 @@ screen.connect_signal("request::desktop_decoration", function(s)
|
|||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
)
|
||||
|
|
|
@ -8,7 +8,7 @@ ruled.client.connect_signal(
|
|||
-- All clients will match this rule.
|
||||
ruled.client.append_rule {
|
||||
id = "global",
|
||||
rule = { },
|
||||
rule = {},
|
||||
properties = {
|
||||
focus = awful.client.focus.filter,
|
||||
raise = true,
|
||||
|
@ -47,7 +47,7 @@ ruled.client.connect_signal(
|
|||
properties = { floating = true }
|
||||
}
|
||||
|
||||
-- TAG 1
|
||||
-- TAG 1
|
||||
ruled.client.append_rule {
|
||||
rule_any = {
|
||||
class = {
|
||||
|
@ -59,9 +59,10 @@ ruled.client.connect_signal(
|
|||
"Virt-manager"
|
||||
}
|
||||
},
|
||||
properties = { tag = "" },
|
||||
properties = { tag = "" },
|
||||
}
|
||||
-- TAG 2
|
||||
|
||||
-- TAG 2
|
||||
ruled.client.append_rule {
|
||||
rule_any = {
|
||||
class = {
|
||||
|
@ -70,9 +71,10 @@ ruled.client.connect_signal(
|
|||
"nemo"
|
||||
}
|
||||
},
|
||||
properties = { tag = "" },
|
||||
properties = { tag = "" },
|
||||
}
|
||||
-- TAG 3
|
||||
|
||||
-- TAG 3
|
||||
ruled.client.append_rule {
|
||||
rule_any = {
|
||||
class = {
|
||||
|
@ -89,7 +91,8 @@ ruled.client.connect_signal(
|
|||
},
|
||||
properties = { tag = "" }
|
||||
}
|
||||
-- TAG 4
|
||||
|
||||
-- TAG 4
|
||||
ruled.client.append_rule {
|
||||
rule_any = {
|
||||
class = {
|
||||
|
@ -101,12 +104,13 @@ ruled.client.connect_signal(
|
|||
},
|
||||
properties = { tag = "" }
|
||||
}
|
||||
-- TAG 5
|
||||
|
||||
-- TAG 5
|
||||
ruled.client.append_rule {
|
||||
rule_any = {
|
||||
class = {
|
||||
"cmus",
|
||||
"ytfzf_music",
|
||||
"musytfzf",
|
||||
"Audacity",
|
||||
"Ardour",
|
||||
"Carla2",
|
||||
|
@ -115,7 +119,8 @@ ruled.client.connect_signal(
|
|||
},
|
||||
properties = { tag = "" }
|
||||
}
|
||||
-- TAG 6
|
||||
|
||||
-- TAG 6
|
||||
ruled.client.append_rule {
|
||||
rule_any = {
|
||||
class = {
|
||||
|
@ -128,12 +133,13 @@ ruled.client.connect_signal(
|
|||
"mpv",
|
||||
"ani-cli",
|
||||
"flix-cli",
|
||||
"ytfzf"
|
||||
"vidytfzf"
|
||||
}
|
||||
},
|
||||
properties = { tag = "" }
|
||||
properties = { tag = "" }
|
||||
}
|
||||
-- TAG 7
|
||||
|
||||
-- TAG 7
|
||||
ruled.client.append_rule {
|
||||
rule_any = {
|
||||
class = {
|
||||
|
@ -146,21 +152,24 @@ ruled.client.connect_signal(
|
|||
"Xournalpp",
|
||||
}
|
||||
},
|
||||
properties = { tag = "" }
|
||||
properties = { tag = "" }
|
||||
}
|
||||
-- TAG 8
|
||||
|
||||
-- TAG 8
|
||||
ruled.client.append_rule {
|
||||
rule_any = {
|
||||
class = {
|
||||
"DesktopEditors",
|
||||
"Soffice",
|
||||
"Notesnook",
|
||||
"libreoffice-startcenter",
|
||||
"Joplin"
|
||||
}
|
||||
},
|
||||
properties = { tag = "" }
|
||||
}
|
||||
-- TAG 9
|
||||
|
||||
-- TAG 9
|
||||
ruled.client.append_rule {
|
||||
rule_any = {
|
||||
class = {
|
||||
|
@ -180,6 +189,6 @@ ruled.client.connect_signal(
|
|||
},
|
||||
properties = { tag = "" }
|
||||
}
|
||||
--}}}
|
||||
--}}}
|
||||
end
|
||||
)
|
||||
|
|
|
@ -11,7 +11,7 @@ local theme = {}
|
|||
-- }}}
|
||||
|
||||
-- {{{ theme font
|
||||
theme.font = "mononoki Nerd Font 13"
|
||||
theme.font = "mononoki Nerd Font 12"
|
||||
--- }}}
|
||||
|
||||
-- {{{ bar colors
|
||||
|
@ -42,13 +42,13 @@ theme.border_marked = "#cc241d"
|
|||
-- }}}
|
||||
|
||||
-- {{{ Taglist
|
||||
theme.taglist_font = "mononoki Nerd Font Mono 28"
|
||||
theme.taglist_font = "Symbols Nerd Font Mono 14"
|
||||
theme.taglist_bg = "#3c3836"
|
||||
theme.taglist_fg_focus = "#fb4934"
|
||||
theme.taglist_fg_occupied = "#8ec07c"
|
||||
theme.taglist_fg_urgent = "#504945"
|
||||
theme.taglist_fg_empty = "#a89984"
|
||||
theme.taglist_spacing = 5
|
||||
theme.taglist_spacing = 7
|
||||
-- }}}
|
||||
|
||||
-- {{{ Notifications
|
||||
|
|
|
@ -8,21 +8,95 @@ elif [ "${currntpwr}" = "balanced" ]; then
|
|||
elif [ "${currntpwr}" = "power-saver" ]; then
|
||||
pwr=" - PowerSaver"
|
||||
fi
|
||||
|
||||
for battery in /sys/class/power_supply/BAT?*; do
|
||||
# If non-first battery, print a space separator.
|
||||
[ -n "${capacity+x}" ] && printf " "
|
||||
|
||||
# Sets up the status and capacity
|
||||
case "$(cat "$battery/status" 2>&1)" in
|
||||
"Full") status="" ;;
|
||||
"Discharging") status="" ;;
|
||||
"Charging") status="" ;;
|
||||
"Not charging") status="" ;;
|
||||
"Unknown") status="" ;;
|
||||
"Full")
|
||||
status=" "
|
||||
;;
|
||||
"Discharging")
|
||||
# Calculates the percentage of remaining charge
|
||||
percentage="$(cat "$battery/capacity" 2>&1)"
|
||||
# Updates the status icon based on the battery percentage
|
||||
if [ "$percentage" -le 20 ]
|
||||
then
|
||||
status=""
|
||||
elif [ "$percentage" -le 30 ]
|
||||
then
|
||||
status=""
|
||||
elif [ "$percentage" -le 40 ]
|
||||
then
|
||||
status=""
|
||||
elif [ "$percentage" -le 50 ]
|
||||
then
|
||||
status=""
|
||||
elif [ "$percentage" -le 60 ]
|
||||
then
|
||||
status=""
|
||||
elif [ "$percentage" -le 70 ]
|
||||
then
|
||||
status=""
|
||||
elif [ "$percentage" -le 80 ]
|
||||
then
|
||||
status=""
|
||||
elif [ "$percentage" -le 90 ]
|
||||
then
|
||||
status=""
|
||||
else
|
||||
status=""
|
||||
fi
|
||||
;;
|
||||
"Charging")
|
||||
# Calculates the percentage of remaining charge
|
||||
percentage="$(cat "$battery/capacity" 2>&1)"
|
||||
# Updates the status icon based on the battery percentage while charging
|
||||
if [ "$percentage" -le 10 ]
|
||||
then
|
||||
status=""
|
||||
elif [ "$percentage" -le 20 ]
|
||||
then
|
||||
status=""
|
||||
elif [ "$percentage" -le 30 ]
|
||||
then
|
||||
status=""
|
||||
elif [ "$percentage" -le 40 ]
|
||||
then
|
||||
status=""
|
||||
elif [ "$percentage" -le 50 ]
|
||||
then
|
||||
status=""
|
||||
elif [ "$percentage" -le 60 ]
|
||||
then
|
||||
status=""
|
||||
elif [ "$percentage" -le 70 ]
|
||||
then
|
||||
status=""
|
||||
elif [ "$percentage" -le 80 ]
|
||||
then
|
||||
status=""
|
||||
elif [ "$percentage" -le 90 ]
|
||||
then
|
||||
status=""
|
||||
else
|
||||
status=""
|
||||
fi
|
||||
;;
|
||||
"Not charging")
|
||||
status=""
|
||||
;;
|
||||
"Unknown")
|
||||
status=""
|
||||
;;
|
||||
*) exit 1 ;;
|
||||
esac
|
||||
capacity="$(cat "$battery/capacity" 2>&1)"
|
||||
|
||||
# Will make a warn variable if discharging and low
|
||||
[ "$status" = "" ] && [ "$capacity" -le 100 ] && warn=""
|
||||
[ "$status" = "" ] && [ "$percentage" -le 10 ] && warn=""
|
||||
|
||||
# Prints the info
|
||||
printf "%s%s%d%%%s" "$status" "$warn " "$capacity" "$pwr"; unset warn
|
||||
printf "%s%s%d%%%s" "$status" "$warn " "$percentage" "$pwr"; unset warn
|
||||
done && printf "\\n"
|
||||
|
|
|
@ -1,10 +1,24 @@
|
|||
#!/bin/bash
|
||||
brt=$(xbacklight -get)
|
||||
if [ "$brt" = "100.000000" ]; then
|
||||
icon=""
|
||||
elif [ "$brt" \> "50%.*" ]; then
|
||||
icon=""
|
||||
elif [ "$brt" \< "49%.*" ]; then
|
||||
icon=""
|
||||
if [ "${brt%.*}" -eq 100 ]; then
|
||||
icon=""
|
||||
elif [ "${brt%.*}" -ge 90 ]; then
|
||||
icon=""
|
||||
elif [ "${brt%.*}" -ge 80 ]; then
|
||||
icon=""
|
||||
elif [ "${brt%.*}" -ge 70 ]; then
|
||||
icon=""
|
||||
elif [ "${brt%.*}" -ge 60 ]; then
|
||||
icon=""
|
||||
elif [ "${brt%.*}" -ge 50 ]; then
|
||||
icon=""
|
||||
elif [ "${brt%.*}" -ge 40 ]; then
|
||||
icon=""
|
||||
elif [ "${brt%.*}" -ge 30 ]; then
|
||||
icon=""
|
||||
elif [ "${brt%.*}" -ge 20 ]; then
|
||||
icon=""
|
||||
else
|
||||
icon=""
|
||||
fi
|
||||
echo "$icon ${brt%.*}%"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
layout=$(setxkbmap -query | grep -oP 'layout:\s*\K\w+');
|
||||
echo " $layout" | tr '[:lower:]' '[:upper:]';
|
||||
echo " $layout" | tr '[:lower:]' '[:upper:]';
|
||||
|
|
|
@ -1,11 +1,34 @@
|
|||
#!/bin/bash
|
||||
|
||||
get_wifi_strength() {
|
||||
# Retrieves the wifi signal strength in dBm
|
||||
strength=$(nmcli -t -f active,ssid,signal dev wifi | grep yes | cut -d ":" -f3)
|
||||
# Converts dBm to percentage (0% to 100%)
|
||||
if [ "$strength" -le 30 ]; then
|
||||
echo "1"
|
||||
elif [ "$strength" -le 60 ]; then
|
||||
echo "2"
|
||||
elif [ "$strength" -le 90 ]; then
|
||||
echo "3"
|
||||
else
|
||||
echo "4"
|
||||
fi
|
||||
}
|
||||
|
||||
constate=$(nmcli dev | grep wifi | sed 's/ \{2,\}/|/g' | cut -d '|' -f3 | head -1)
|
||||
currentwfi=$(nmcli dev | grep wifi | sed 's/ \{2,\}/|/g' | cut -d '|' -f4 | head -1)
|
||||
|
||||
if [ "$constate" = "disconnected" ]; then
|
||||
echo " "
|
||||
echo " "
|
||||
elif [ "$constate" = "connected" ]; then
|
||||
echo " $currentwfi"
|
||||
strength=$(get_wifi_strength)
|
||||
case "$strength" in
|
||||
"1") icon=" " ;;
|
||||
"2") icon=" " ;;
|
||||
"3") icon=" " ;;
|
||||
"4") icon=" " ;;
|
||||
esac
|
||||
echo "$icon$currentwfi"
|
||||
else
|
||||
echo " "
|
||||
fi
|
||||
|
|
|
@ -1,3 +1,32 @@
|
|||
-- neovide options
|
||||
vim.o.guifont = "mononoki Nerd Font:h08"
|
||||
vim.g.neovide_hide_mouse_when_typing = true
|
||||
vim.g.neovide_input_macos_alt_is_meta = true
|
||||
vim.g.neovide_hide_mouse_when_typing = false
|
||||
vim.g.neovide_refresh_rate = 60
|
||||
vim.g.neovide_refresh_rate_idle = 5
|
||||
vim.g.neovide_no_idle = true
|
||||
vim.g.neovide_confirm_quit = true
|
||||
vim.g.neovide_input_use_logo = true
|
||||
|
||||
vim.g.neovide_cursor_antialiasing = true
|
||||
vim.g.neovide_cursor_animate_in_insert_mode = true
|
||||
vim.g.neovide_cursor_vfx_mode = "pixiedust"
|
||||
vim.g.neovide_cursor_vfx_particle_speed = 20.0
|
||||
|
||||
vim.g.neovide_padding_top = 0
|
||||
vim.g.neovide_padding_bottom = 0
|
||||
vim.g.neovide_padding_right = 0
|
||||
vim.g.neovide_padding_left = 0
|
||||
|
||||
-- Helper function for transparency formatting
|
||||
local alpha = function()
|
||||
return string.format("%x", math.floor(255 * (vim.g.transparency or 0.9)))
|
||||
end
|
||||
vim.g.neovide_transparency = 0.9
|
||||
vim.g.transparency = 0.9
|
||||
vim.g.neovide_background_color = "#1d2021" .. alpha()
|
||||
|
||||
-- nvim options
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.tabstop = 2
|
||||
|
@ -18,7 +47,7 @@ lvim.format_on_save = {
|
|||
|
||||
-- change theme settings
|
||||
lvim.colorscheme = "gruvbox"
|
||||
lvim.transparent_window = true
|
||||
lvim.transparent_window = false
|
||||
lvim.builtin.alpha.active = true
|
||||
lvim.builtin.alpha.mode = "dashboard"
|
||||
lvim.builtin.terminal.active = true
|
||||
|
@ -38,6 +67,30 @@ lvim.plugins = {
|
|||
{ "CRAG666/code_runner.nvim" },
|
||||
}
|
||||
|
||||
-- configuring colorscheme
|
||||
require("gruvbox").setup({
|
||||
undercurl = true,
|
||||
underline = true,
|
||||
bold = false,
|
||||
italic = {
|
||||
strings = true,
|
||||
comments = true,
|
||||
operators = false,
|
||||
folds = true,
|
||||
},
|
||||
strikethrough = true,
|
||||
invert_selection = false,
|
||||
invert_signs = false,
|
||||
invert_tabline = false,
|
||||
invert_intend_guides = false,
|
||||
inverse = true, -- invert background for search, diffs, statuslines and errors
|
||||
contrast = "hard", -- can be "hard", "soft" or empty string
|
||||
palette_overrides = {},
|
||||
overrides = {},
|
||||
dim_inactive = false,
|
||||
transparent_mode = false,
|
||||
})
|
||||
|
||||
-- vimspector options
|
||||
vim.g.vimspector_enable_mappings = 'HUMAN'
|
||||
vim.g.vimspector_enable_mappings_for_mode = {
|
||||
|
@ -59,17 +112,17 @@ require('code_runner').setup({
|
|||
"rustc $fileName &&",
|
||||
"$dir/$fileNameWithoutExt"
|
||||
},
|
||||
cs = function(...)
|
||||
local root_dir = require("lspconfig").util.root_pattern "*.csproj" (vim.loop.cwd())
|
||||
return "cd " .. root_dir .. " && dotnet run$end"
|
||||
end,
|
||||
cs = {
|
||||
"cd '$dir' &&",
|
||||
"dotnet run"
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
vim.keymap.set('n', '<leader>r', ':RunCode<CR>', { noremap = true, silent = false })
|
||||
vim.keymap.set('n', '<leader>rf', ':RunFile<CR>', { noremap = true, silent = false })
|
||||
vim.keymap.set('n', '<leader>rft', ':RunFile tab<CR>', { noremap = true, silent = false })
|
||||
vim.keymap.set('n', '<leader>rp', ':RunProject<CR>', { noremap = true, silent = false })
|
||||
vim.keymap.set('n', '<leader>rc', ':RunClose<CR>', { noremap = true, silent = false })
|
||||
vim.keymap.set('n', '<leader>crf', ':CRFiletype<CR>', { noremap = true, silent = false })
|
||||
vim.keymap.set('n', '<leader>crp', ':CRProjects<CR>', { noremap = true, silent = false })
|
||||
lvim.keys.normal_mode["<leader>r"] = ":RunCode<CR>"
|
||||
lvim.keys.normal_mode["<leader>rf"] = ":RunFile<CR>"
|
||||
lvim.keys.normal_mode["<leader>rft"] = ":RunFile tab<CR>"
|
||||
lvim.keys.normal_mode["<leader>rp"] = ":RunProject<CR>"
|
||||
lvim.keys.normal_mode["<leader>rc"] = ":RunClose<CR>"
|
||||
lvim.keys.normal_mode["<leader>crf"] = ":CRFiletype<CR>"
|
||||
lvim.keys.normal_mode["<leader>crp"] = ":CRProjects<CR>"
|
||||
|
|
|
@ -13,8 +13,8 @@ animation-for-unmap-window = "zoom"
|
|||
animation-for-menu-window = "zoom"
|
||||
animation-for-workspace-switch-out = "zoom"
|
||||
animation-for-workspace-switch-in = "zoom"
|
||||
animation-stiffness = 300;
|
||||
animation-dampening = 16;
|
||||
animation-stiffness = 500;
|
||||
animation-dampening = 20;
|
||||
animation-window-mass = 1;
|
||||
animation-clamping = true;
|
||||
animation-delta = 16;
|
||||
|
@ -23,30 +23,30 @@ animation-delta = 16;
|
|||
|
||||
## Shadows
|
||||
shadow = false;
|
||||
#shadow-radius = 8;
|
||||
#shadow-opacity = .90
|
||||
#shadow-offset-x = -10;
|
||||
#shadow-offset-y = -10;
|
||||
# shadow-radius = 8;
|
||||
# shadow-opacity = .90
|
||||
# shadow-offset-x = -10;
|
||||
# shadow-offset-y = -10;
|
||||
# shadow-red = 0
|
||||
# shadow-green = 0
|
||||
# shadow-blue = 0
|
||||
# shadow-color = "#000000"
|
||||
#shadow-exclude = [
|
||||
# shadow-exclude = [
|
||||
# "name = 'Notification'",
|
||||
# "class_g = 'Conky'",
|
||||
# "class_g ?= 'Notify-osd'",
|
||||
# "class_g = 'Cairo-clock'",
|
||||
# "_GTK_FRAME_EXTENTS@:c"
|
||||
#];
|
||||
# ];
|
||||
|
||||
## Fading
|
||||
fading = false;
|
||||
#fade-in-step = 0.05;
|
||||
#fade-out-step = 0.05;
|
||||
#fade-delta = 8
|
||||
#fade-exclude = []
|
||||
#no-fading-openclose = false
|
||||
#no-fading-destroyed-argb = false
|
||||
# fade-in-step = 0.05;
|
||||
# fade-out-step = 0.05;
|
||||
# fade-delta = 8
|
||||
# fade-exclude = []
|
||||
# no-fading-openclose = false
|
||||
# no-fading-destroyed-argb = false
|
||||
|
||||
## Transparency and opacity
|
||||
inactive-opacity = 1.00;
|
||||
|
@ -55,8 +55,17 @@ inactive-opacity-override = false;
|
|||
focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
||||
# opaity-rule = []
|
||||
|
||||
## Blur
|
||||
blur-background = true;
|
||||
blur-background-frame = true;
|
||||
blur-background-fixed = true;
|
||||
#blur-method = "dual_kawase";
|
||||
blur-kern = "3x3box";
|
||||
blur-method = "kawase";
|
||||
blur-strength = 2;
|
||||
|
||||
## General Settings
|
||||
backend = "xrender";
|
||||
backend = "glx";
|
||||
vsync = true;
|
||||
dbe = false;
|
||||
detect-client-opacity = true;
|
||||
|
|
|
@ -32,17 +32,17 @@ pwrs="$pwr1\n$pwr2\n$pwr3\n$pwr4"
|
|||
action=$(echo -e "$options" | $menu " Power Options ")
|
||||
case "$action" in
|
||||
$option1)
|
||||
pkill Hyprland;;
|
||||
pkill X;;
|
||||
$option2)
|
||||
systemctl reboot || loginctl reboot;;
|
||||
$option3)
|
||||
systemctl poweroff || loginctl poweroff;;
|
||||
$option4)
|
||||
swaylock -i "$currwall" &
|
||||
betterlockscreen -l &
|
||||
sleep 0.1
|
||||
systemctl suspend;;
|
||||
$option5)
|
||||
swaylock -i "$currwall";;
|
||||
betterlockscreen -l;;
|
||||
$option6)
|
||||
currentpwr=$(powerprofilesctl get)
|
||||
if [ "$currentpwr" = "performance" ]; then
|
||||
|
|
|
@ -9,16 +9,17 @@ mkdir -p "$HOME/Pictures/Screenshots"
|
|||
cd "$HOME/Pictures/Screenshots" || exit 0
|
||||
|
||||
## CHOICES ##
|
||||
cho1=" Entire screen"
|
||||
cho2=" Entire screen with delay"
|
||||
cho3=" Focused window"
|
||||
cho4=" Select area"
|
||||
chos="$cho1\n$cho2\n$cho3\n$cho4"
|
||||
cho1=" Entire screen"
|
||||
cho2=" Entire screen with delay"
|
||||
cho3=" Focused window"
|
||||
cho4=" Select area"
|
||||
cho5=" Exit"
|
||||
chos="$cho1\n$cho2\n$cho3\n$cho4\n$cho5"
|
||||
|
||||
## DELAY OPTIONS ##
|
||||
del1=" 3 sec delay"
|
||||
del2=" 5 sec delay"
|
||||
del3=" 10 sec delay"
|
||||
del1=" 3 sec delay"
|
||||
del2=" 5 sec delay"
|
||||
del3=" 10 sec delay"
|
||||
dels="$del1\n$del2\n$del3"
|
||||
|
||||
## DELAY FUNCTION ##
|
||||
|
@ -59,5 +60,7 @@ case $choice in
|
|||
"$cho3")
|
||||
window;;
|
||||
"$cho4")
|
||||
area
|
||||
area;;
|
||||
"$cho5")
|
||||
exit 0
|
||||
esac
|
||||
|
|
|
@ -10,7 +10,7 @@ cd "$walldir" || exit
|
|||
|
||||
## SELECT PICTURE FUNCTION ##
|
||||
selectpic() {
|
||||
wallpaper=$(fd -p "$walldir" | rofi -dmenu -i -p "Select a wallpaper:")
|
||||
wallpaper=$(fd -p "$walldir" | rofi -dmenu -i -p " Select a wallpaper ")
|
||||
if [ "$wallpaper" ]; then
|
||||
chosenwall=$wallpaper
|
||||
else
|
||||
|
@ -28,7 +28,7 @@ option5="Scale"
|
|||
options="$option1\n$option2\n$option3\n$option4\n$option5"
|
||||
|
||||
## MAIN ACTION ##
|
||||
action=$(echo -e "$options" | rofi -dmenu -i -p "Chose the format:")
|
||||
action=$(echo -e "$options" | rofi -dmenu -i -p " Chose the format ")
|
||||
case "$action" in
|
||||
$option1*)
|
||||
feh --bg-fill "$chosenwall";;
|
||||
|
|
|
@ -90,7 +90,7 @@ if [ -n "$cases" ]; then
|
|||
exit 0;
|
||||
fi;;
|
||||
$option5)
|
||||
io.elementary.capnet-assist;;
|
||||
"$BROWSER" http://networkcheck.kde.org;;
|
||||
$option6)
|
||||
exit 0;
|
||||
esac
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
This directory is dedicated for user-supplied scripts/executables.
|
||||
vifm modifies its PATH environment variable to let user run those
|
||||
scripts without specifying full path. All subdirectories are added
|
||||
as well. File in a subdirectory overrules file with the same name
|
||||
in parent directories. Restart might be needed to recognize files
|
||||
in newly created or renamed subdirectories.
|
|
@ -172,8 +172,8 @@ command! reload :write | restart
|
|||
" You can also add %CLEAR if you want to clear screen before running FUSE
|
||||
" program.
|
||||
|
||||
" Pdf
|
||||
filextype *.pdf zathura %c %i &, apvlv %c, xpdf %c
|
||||
" Pdf and cbz
|
||||
filextype *.cbz,*.pdf zathura %c %i &, apvlv %c, xpdf %c
|
||||
fileviewer *.pdf
|
||||
\ pdftotext -nopgbrk %c -
|
||||
|
||||
|
|
Loading…
Reference in a new issue