mirror of
https://github.com/Feliix42/dotfiles.git
synced 2024-11-22 14:06:30 +00:00
Vim config changes, float firefox extension window
This commit is contained in:
parent
a46ffe6e8a
commit
655cafa311
4 changed files with 22 additions and 14 deletions
|
@ -4,8 +4,9 @@ syntax on
|
|||
" enable autocompletion of ale
|
||||
let g:ale_completion_enabled = 1
|
||||
" disable latex linting from ale as i've got my own plugin for that
|
||||
let g:ale_linters = { 'tex': []}
|
||||
let b:ale_fixers = {'haskell': ['hindent']}
|
||||
let g:ale_linters = { 'tex': [], 'haskell': ['hls', 'hindent'], 'rust': ['rls'] }
|
||||
"let g:ale_fixers = {'haskell': ['hindent']}
|
||||
let g:ale_fixers = { 'haskell': ['hls', 'hindent'], 'rust': ['rls'] }
|
||||
|
||||
|
||||
" Initialize plugin system
|
||||
|
@ -90,6 +91,7 @@ set wildignore=*.o,*~,*.pyc,*.aux,*.bbl,*.blg,*-blx.bib,*.log,*.out,*.run.xml,
|
|||
|
||||
" automatically reload files changed on disk but not in buffer
|
||||
set autoread
|
||||
set hidden
|
||||
|
||||
" tex configuration
|
||||
let g:tex_flavor='latex'
|
||||
|
|
|
@ -58,9 +58,17 @@
|
|||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||
|
||||
nixpkgs.config = {
|
||||
# enable hardware-accelerated graphics
|
||||
nixpkgs.config.packageOverrides = pkgs: {
|
||||
packageOverrides = pkgs: {
|
||||
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
|
||||
# add nixpkgs for unstable package sources
|
||||
#unstable = import <nixpkgs> {
|
||||
#config = config.nixpkgs.config;
|
||||
#};
|
||||
};
|
||||
# allow unfree licenced packges
|
||||
allowUnfree = true;
|
||||
};
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
|
@ -227,6 +235,7 @@
|
|||
cargo-watch
|
||||
# python3
|
||||
stack
|
||||
haskellPackages.haskell-language-server
|
||||
gcc
|
||||
binutils-unwrapped
|
||||
gnumake
|
||||
|
@ -278,13 +287,14 @@
|
|||
ffmpeg-full
|
||||
musikcube
|
||||
## messenger
|
||||
slack
|
||||
tdesktop
|
||||
signal-desktop
|
||||
(weechat.override {
|
||||
configure = { availablePlugins, ... }: {
|
||||
scripts = with pkgs.weechatScripts; [
|
||||
wee-slack
|
||||
weechat-matrix
|
||||
# weechat-matrix
|
||||
];
|
||||
};
|
||||
# extraBuildInputs = [ python38Packages.Logbook ];
|
||||
|
@ -347,8 +357,8 @@
|
|||
systemd.user.services.mailfetch = {
|
||||
enable = true;
|
||||
description = "Automatically fetches for new mail when the network is up";
|
||||
after = [ "network-online.target" ];
|
||||
wantedBy = [ "network-online.target" ];
|
||||
wantedBy = [ "graphical-session.target" ];
|
||||
after = [ "graphical-session.target" ];
|
||||
serviceConfig = {
|
||||
Restart = "always";
|
||||
RestartSec = "60";
|
||||
|
@ -365,11 +375,6 @@
|
|||
# Or disable the firewall altogether.
|
||||
# networking.firewall.enable = false;
|
||||
|
||||
# allow unfree licenced packges
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# tmp workaround for rpy2
|
||||
# nixpkgs.config.allowBroken = true;
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
|
|
|
@ -230,6 +230,7 @@ bindsym XF86AudioMute exec 'pactl set-sink-mute @DEFAULT_SINK@ toggle'
|
|||
# automatically float windows that are intended to do so
|
||||
for_window [title="Picture-in-Picture" app_id="firefox"] floating enable
|
||||
for_window [title="Firefox — Sharing Indicator" app_id="firefox"] floating enable
|
||||
for_window [title="Extension: (Tree Style Tab).*" app_id="firefox"] floating enable
|
||||
# those frickin' zoom popups
|
||||
for_window [title="zoom"] floating enable
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
"interval": 60,
|
||||
"exec": "notmuch count tag:unread",
|
||||
"exec-if": "[ $(notmuch count tag:unread) != 0 ]",
|
||||
"on-click": "alacritty -e neomutt"
|
||||
"on-click": "alacritty -e neomutt -f 'notmuch://?query=tag:unread'"
|
||||
}
|
||||
//"custom/spotify": {
|
||||
// "format": " {}",
|
||||
|
|
Loading…
Reference in a new issue