mirror of
https://github.com/Horhik/dotfiles.git
synced 2024-11-22 16:31:26 +00:00
add borders to windows, remove dim on infocused windows
This commit is contained in:
parent
83100caf74
commit
ec1cd5a713
|
@ -29,7 +29,7 @@
|
||||||
# the top and down respectively.
|
# the top and down respectively.
|
||||||
# The width can be negative. In this case the actual width is the
|
# The width can be negative. In this case the actual width is the
|
||||||
# screen width minus the width defined in within the geometry option.
|
# screen width minus the width defined in within the geometry option.
|
||||||
geometry = "350x5-20+40"
|
geometry = "350x5-785+40"
|
||||||
|
|
||||||
# Show how many messages are currently hidden (because of geometry).
|
# Show how many messages are currently hidden (because of geometry).
|
||||||
indicate_hidden = yes
|
indicate_hidden = yes
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
# The transparency of the window. Range: [0; 100].
|
# The transparency of the window. Range: [0; 100].
|
||||||
# This option will only work if a compositing window manager is
|
# This option will only work if a compositing window manager is
|
||||||
# present (e.g. xcompmgr, compiz, etc.).
|
# present (e.g. xcompmgr, compiz, etc.).
|
||||||
transparency = 30
|
transparency = 0
|
||||||
|
|
||||||
# The height of the entire notification. If the height is smaller
|
# The height of the entire notification. If the height is smaller
|
||||||
# than the font height and padding combined, it will be raised
|
# than the font height and padding combined, it will be raised
|
||||||
|
@ -51,17 +51,17 @@
|
||||||
# Draw a line of "separator_height" pixel height between two
|
# Draw a line of "separator_height" pixel height between two
|
||||||
# notifications.
|
# notifications.
|
||||||
# Set to 0 to disable.
|
# Set to 0 to disable.
|
||||||
separator_height = 5
|
separator_height = 10
|
||||||
|
|
||||||
# Padding between text and separator.
|
# Padding between text and separator.
|
||||||
padding = 0
|
padding = 10
|
||||||
|
|
||||||
# Horizontal padding.
|
# Horizontal padding.
|
||||||
horizontal_padding = 0
|
horizontal_padding = 10
|
||||||
|
|
||||||
# Defines width in pixels of frame around the notification window.
|
# Defines width in pixels of frame around the notification window.
|
||||||
# Set to 0 to disable.
|
# Set to 0 to disable.
|
||||||
frame_width = 3
|
frame_width = 0
|
||||||
|
|
||||||
# Defines color of the frame around the notification window.
|
# Defines color of the frame around the notification window.
|
||||||
frame_color = "#44475a"
|
frame_color = "#44475a"
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
# * foreground: use the same color as the foreground;
|
# * foreground: use the same color as the foreground;
|
||||||
# * frame: use the same color as the frame;
|
# * frame: use the same color as the frame;
|
||||||
# * anything else will be interpreted as a X color.
|
# * anything else will be interpreted as a X color.
|
||||||
separator_color = frame
|
separator_color = "#ff000000"
|
||||||
|
|
||||||
# Sort messages by urgency.
|
# Sort messages by urgency.
|
||||||
sort = yes
|
sort = yes
|
||||||
|
@ -86,7 +86,7 @@
|
||||||
|
|
||||||
### Text ###
|
### Text ###
|
||||||
|
|
||||||
font = Mononoki 12
|
font = Mononoki 14
|
||||||
|
|
||||||
# The spacing between lines. If the height is smaller than the
|
# The spacing between lines. If the height is smaller than the
|
||||||
# font height, it will get raised to the font height.
|
# font height, it will get raised to the font height.
|
||||||
|
@ -163,7 +163,7 @@
|
||||||
icon_position = left
|
icon_position = left
|
||||||
|
|
||||||
# Scale larger icons down to this size, set to 0 to disable
|
# Scale larger icons down to this size, set to 0 to disable
|
||||||
max_icon_size = 120
|
max_icon_size = 80
|
||||||
|
|
||||||
# Paths to default icons.
|
# Paths to default icons.
|
||||||
icon_path = /usr/share/icons/Papirus-Dark/16x16:/usr/share/icons/Papirus/16x16:/home/horhik/Pictures/icons
|
icon_path = /usr/share/icons/Papirus-Dark/16x16:/usr/share/icons/Papirus/16x16:/home/horhik/Pictures/icons
|
||||||
|
|
|
@ -4,8 +4,8 @@ ShowHidden=false
|
||||||
ShowSizeColumn=true
|
ShowSizeColumn=true
|
||||||
GeometryX=0
|
GeometryX=0
|
||||||
GeometryY=0
|
GeometryY=0
|
||||||
GeometryWidth=637
|
GeometryWidth=768
|
||||||
GeometryHeight=520
|
GeometryHeight=972
|
||||||
SortColumn=name
|
SortColumn=modified
|
||||||
SortOrder=ascending
|
SortOrder=descending
|
||||||
StartupMode=recent
|
StartupMode=recent
|
||||||
|
|
10
home/qutebrowser/.config/qutebrowser/autoconfig.yml
Normal file
10
home/qutebrowser/.config/qutebrowser/autoconfig.yml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# If a config.py file exists, this file is ignored unless it's explicitly loaded
|
||||||
|
# via config.load_autoconfig(). For more information, see:
|
||||||
|
# https://github.com/qutebrowser/qutebrowser/blob/master/doc/help/configuring.asciidoc#loading-autoconfigyml
|
||||||
|
# DO NOT edit this file by hand, qutebrowser will overwrite it.
|
||||||
|
# Instead, create a config.py - see :help for details.
|
||||||
|
|
||||||
|
config_version: 2
|
||||||
|
settings:
|
||||||
|
content.media.audio_capture:
|
||||||
|
https://vk.com: true
|
|
@ -0,0 +1,5 @@
|
||||||
|
[FileDialog]
|
||||||
|
history=@Invalid()
|
||||||
|
lastVisited=file:///home/horhik/Downloads/Telegram Desktop
|
||||||
|
qtVersion=5.15.2
|
||||||
|
viewMode=Detail
|
|
@ -19,9 +19,11 @@ import XMonad.Util.SpawnOnce
|
||||||
import XMonad.Util.Run
|
import XMonad.Util.Run
|
||||||
import XMonad.Hooks.ManageDocks
|
import XMonad.Hooks.ManageDocks
|
||||||
import XMonad.Layout.Gaps
|
import XMonad.Layout.Gaps
|
||||||
|
import XMonad.Layout.ToggleLayouts
|
||||||
|
import XMonad.Util.Themes
|
||||||
import XMonad.Util.EZConfig
|
import XMonad.Util.EZConfig
|
||||||
import XMonad.Layout.Spacing
|
import XMonad.Layout.Spacing
|
||||||
import XMonad.Layout.NoBorders
|
import XMonad.Layout.NoBorders (noBorders, smartBorders)
|
||||||
import XMonad.Layout.Tabbed
|
import XMonad.Layout.Tabbed
|
||||||
import XMonad.Hooks.DynamicLog
|
import XMonad.Hooks.DynamicLog
|
||||||
import XMonad.Util.Scratchpad
|
import XMonad.Util.Scratchpad
|
||||||
|
@ -45,7 +47,7 @@ myFocusFollowsMouse :: Bool
|
||||||
myFocusFollowsMouse = True
|
myFocusFollowsMouse = True
|
||||||
myClickJustFocuses :: Bool
|
myClickJustFocuses :: Bool
|
||||||
myClickJustFocuses = False
|
myClickJustFocuses = False
|
||||||
myBorderWidth = 0
|
myBorderWidth = 3
|
||||||
superKey = mod4Mask
|
superKey = mod4Mask
|
||||||
myModMask = superKey
|
myModMask = superKey
|
||||||
-- myWorkspaces = ["home 1","web 2","code 3","test 4","tkr 5","task 6","edit 7", "chat 8","book 9"]
|
-- myWorkspaces = ["home 1","web 2","code 3","test 4","tkr 5","task 6","edit 7", "chat 8","book 9"]
|
||||||
|
@ -228,12 +230,16 @@ myMouseBindings (XConfig {XMonad.modMask = modm}) = M.fromList $
|
||||||
-- The available layouts. Note that each layout is separated by |||,
|
-- The available layouts. Note that each layout is separated by |||,
|
||||||
-- which denotes layout choice.
|
-- which denotes layout choice.
|
||||||
--
|
--
|
||||||
defaultGapSize = 0
|
defaultGapSize = 7;
|
||||||
defaultGaps = gaps [(U,defaultGapSize), (R,defaultGapSize), (D, defaultGapSize), (L, defaultGapSize)]
|
defaultGaps = gaps [(U,defaultGapSize), (R,defaultGapSize), (D, defaultGapSize), (L, defaultGapSize)]
|
||||||
defaultSpaces = spacingRaw True (Border 0 0 0 0) True (Border 0 0 0 0) True
|
defaultSpaces = spacingRaw True (Border 7 7 7 7) True (Border 7 7 7 7) True
|
||||||
spacesAndGaps = defaultSpaces . defaultGaps
|
spacesAndGaps = defaultSpaces . defaultGaps
|
||||||
|
|
||||||
myLayout = smartBorders . avoidStruts $ spacesAndGaps $ tiled ||| Mirror tiled ||| Full ||| simpleTabbed
|
myTabConfig = def { inactiveBorderColor = commentColor
|
||||||
|
, activeTextColor = selectionColor}
|
||||||
|
myLayout = smartBorders . avoidStruts
|
||||||
|
$ spacesAndGaps
|
||||||
|
$ tiled ||| Mirror tiled ||| noBorders Full ||| simpleTabbed -- tabbed shrinkText (theme kavonAutumnTheme )
|
||||||
where
|
where
|
||||||
-- default tiling algorithm partitions the screen into two panes
|
-- default tiling algorithm partitions the screen into two panes
|
||||||
tiled = Tall nmaster delta ratio
|
tiled = Tall nmaster delta ratio
|
||||||
|
@ -421,6 +427,7 @@ myStartupHook = do
|
||||||
spawnOnce "setxkbmap us,ru &"
|
spawnOnce "setxkbmap us,ru &"
|
||||||
spawnOnce "eww daemon"
|
spawnOnce "eww daemon"
|
||||||
spawnOnce "nextcloud"
|
spawnOnce "nextcloud"
|
||||||
|
spawnOnce "superProductivity"
|
||||||
spawnOnce "syncthing"
|
spawnOnce "syncthing"
|
||||||
spawnOnce "sh ssh-agent bash ; ssh-add ~/.ssh/arch"
|
spawnOnce "sh ssh-agent bash ; ssh-add ~/.ssh/arch"
|
||||||
spawnOnce "eval '$(ssh-agent -s)'; ssh-add ~/.ssh/id_rsa"
|
spawnOnce "eval '$(ssh-agent -s)'; ssh-add ~/.ssh/id_rsa"
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
./modules/hosts.nix
|
./modules/hosts.nix
|
||||||
#./modules/picom.nix
|
#./modules/picom.nix
|
||||||
./modules/sound.nix
|
./modules/sound.nix
|
||||||
./modules/steam.nix
|
|
||||||
./modules/zsh.nix
|
./modules/zsh.nix
|
||||||
./fonts.nix
|
./fonts.nix
|
||||||
|
|
||||||
|
@ -115,6 +114,7 @@
|
||||||
wget git vim neovim emacs alacritty xterm zsh tmux stow dunst
|
wget git vim neovim emacs alacritty xterm zsh tmux stow dunst
|
||||||
# haskellPackages.xmonad haskellPackages.xmonad-contrib haskellPackages.xmonad-utils
|
# haskellPackages.xmonad haskellPackages.xmonad-contrib haskellPackages.xmonad-utils
|
||||||
haskellPackages.xmobar
|
haskellPackages.xmobar
|
||||||
|
tabbed
|
||||||
i3 surf dmenu st qutebrowser
|
i3 surf dmenu st qutebrowser
|
||||||
lightdm rofi nitrogen rofi-emoji
|
lightdm rofi nitrogen rofi-emoji
|
||||||
mononoki fontmatrix
|
mononoki fontmatrix
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
horhik@lap.122842:1622363905
|
|
|
@ -1,15 +1,19 @@
|
||||||
{config, pkgs, ...}:
|
{config, pkgs, ...}:
|
||||||
{
|
{
|
||||||
|
programs.dconf.enable = true;
|
||||||
|
services.gnome.evolution-data-server.enable = true;
|
||||||
|
services.gnome.gnome-keyring.enable = true;
|
||||||
services.xserver.desktopManager.cde.extraPackages = with pkgs;
|
services.xserver.desktopManager.cde.extraPackages = with pkgs;
|
||||||
options.services.xserver.desktopManager.cde.extraPackages.default ++ [
|
options.services.xserver.desktopManager.cde.extraPackages.default ++ [
|
||||||
cde-gtk-theme
|
cde-gtk-theme
|
||||||
|
yaru-theme
|
||||||
];
|
];
|
||||||
environment.etc."xdg/gtk-2.0/gtkrc".text = ''
|
environment.etc."xdg/gtk-2.0/gtkrc".text = ''
|
||||||
gtk-theme-name="Yaru"
|
gtk-theme-name="Yaru-dark"
|
||||||
'';
|
'';
|
||||||
environment.etc."xdg/gtk-3.0/settings.ini".text = ''
|
environment.etc."xdg/gtk-3.0/settings.ini".text = ''
|
||||||
[Settings]
|
[Settings]
|
||||||
gtk-theme-name=yaru-theme
|
gtk-theme-name=Yaru-dark
|
||||||
'';
|
'';
|
||||||
qt5 = {
|
qt5 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -5,18 +5,21 @@
|
||||||
services.picom.package = pkgs.nur.repos.reedrw.picom-next-ibhagwan;
|
services.picom.package = pkgs.nur.repos.reedrw.picom-next-ibhagwan;
|
||||||
services.picom.shadow = true;
|
services.picom.shadow = true;
|
||||||
services.picom.vSync = true;
|
services.picom.vSync = true;
|
||||||
services.picom.inactiveOpacity = "0.8";
|
# services.picom.inactiveOpacity = "0.8";
|
||||||
services.picom.inactiveDim = "0.7";
|
# services.picom.inactiveDim = "0.7";
|
||||||
services.picom.backend = "glx";
|
services.picom.backend = "glx";
|
||||||
services.picom.experimentalBackends = true;
|
services.picom.experimentalBackends = true;
|
||||||
services.picom.opacityRule = [
|
services.picom.opacityRule = [
|
||||||
"80:class_g = 'Zathura'"
|
"80:class_g = 'Zathura'"
|
||||||
"80:class_g = 'TelegramDesktop'"
|
|
||||||
"80:class_g = 'Discord'"
|
"80:class_g = 'Discord'"
|
||||||
"80:class_g = 'Emacs'"
|
"80:class_g = 'Emacs'"
|
||||||
|
"60:class_g = 'Anki'"
|
||||||
"100:class_g = 'keynav'"
|
"100:class_g = 'keynav'"
|
||||||
"85:class_g = 'Alacritty'"
|
"85:class_g = 'Alacritty'"
|
||||||
];
|
];
|
||||||
|
services.picom.shadowExclude = [
|
||||||
|
"class_g = 'Navigator'"
|
||||||
|
];
|
||||||
services.picom.extraOptions = ''
|
services.picom.extraOptions = ''
|
||||||
#inactive-dim = 0.5;
|
#inactive-dim = 0.5;
|
||||||
#active-opacity = 1.0;
|
#active-opacity = 1.0;
|
||||||
|
@ -31,15 +34,18 @@
|
||||||
background-fixed = false;
|
background-fixed = false;
|
||||||
};
|
};
|
||||||
blur-background-exclude = [
|
blur-background-exclude = [
|
||||||
"class_g = 'keynav'"
|
"class_g = 'keynav'",
|
||||||
|
"class_g = 'Dunst'",
|
||||||
|
"class_g = 'Navigator'",
|
||||||
|
"class_g = 'Firefox'"
|
||||||
];
|
];
|
||||||
corner-radius = 0;
|
corner-radius = 4;
|
||||||
rounded-corners-exclude = [
|
rounded-corners-exclude = [
|
||||||
"window_type = 'dock'",
|
"window_type = 'dock'",
|
||||||
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_FULLSCREEN'",
|
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_FULLSCREEN'",
|
||||||
"class_g = 'keynav'",
|
"class_g = 'keynav'",
|
||||||
];
|
];
|
||||||
round-borders = 0;
|
round-borders = 4;
|
||||||
round-borders-exclude = [
|
round-borders-exclude = [
|
||||||
"class_g = 'keynav'"
|
"class_g = 'keynav'"
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
{config, pkgs, ...}:
|
|
||||||
{
|
|
||||||
nixpkgs.config.packageOverrides = pkgs: {
|
|
||||||
steam = pkgs.steam.override {
|
|
||||||
nativeOnly = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
programs.steam.enable = true;
|
|
||||||
}
|
|
0
nix/programs/mpv.nix
Normal file
0
nix/programs/mpv.nix
Normal file
0
nix/programs/qutebrowser.nix
Normal file
0
nix/programs/qutebrowser.nix
Normal file
0
nix/programs/spotify.nix
Normal file
0
nix/programs/spotify.nix
Normal file
0
nix/programs/vifm.nix
Normal file
0
nix/programs/vifm.nix
Normal file
0
nix/programs/vim.nix
Normal file
0
nix/programs/vim.nix
Normal file
0
nix/programs/zsh.nix
Normal file
0
nix/programs/zsh.nix
Normal file
Loading…
Reference in a new issue