Vim config changes, float firefox extension window

This commit is contained in:
Felix Suchert 2021-05-31 16:36:40 +02:00
parent a46ffe6e8a
commit 655cafa311
Signed by: feliix42
GPG key ID: 24363525EA0E8A99
4 changed files with 22 additions and 14 deletions

View file

@ -4,8 +4,9 @@ syntax on
" enable autocompletion of ale " enable autocompletion of ale
let g:ale_completion_enabled = 1 let g:ale_completion_enabled = 1
" disable latex linting from ale as i've got my own plugin for that " disable latex linting from ale as i've got my own plugin for that
let g:ale_linters = { 'tex': []} let g:ale_linters = { 'tex': [], 'haskell': ['hls', 'hindent'], 'rust': ['rls'] }
let b:ale_fixers = {'haskell': ['hindent']} "let g:ale_fixers = {'haskell': ['hindent']}
let g:ale_fixers = { 'haskell': ['hls', 'hindent'], 'rust': ['rls'] }
" Initialize plugin system " 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 " automatically reload files changed on disk but not in buffer
set autoread set autoread
set hidden
" tex configuration " tex configuration
let g:tex_flavor='latex' let g:tex_flavor='latex'

View file

@ -58,9 +58,17 @@
# networking.proxy.default = "http://user:password@proxy:port/"; # networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
nixpkgs.config = {
# enable hardware-accelerated graphics # enable hardware-accelerated graphics
nixpkgs.config.packageOverrides = pkgs: { packageOverrides = pkgs: {
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; }; 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 = { hardware.opengl = {
enable = true; enable = true;
@ -227,6 +235,7 @@
cargo-watch cargo-watch
# python3 # python3
stack stack
haskellPackages.haskell-language-server
gcc gcc
binutils-unwrapped binutils-unwrapped
gnumake gnumake
@ -278,13 +287,14 @@
ffmpeg-full ffmpeg-full
musikcube musikcube
## messenger ## messenger
slack
tdesktop tdesktop
signal-desktop signal-desktop
(weechat.override { (weechat.override {
configure = { availablePlugins, ... }: { configure = { availablePlugins, ... }: {
scripts = with pkgs.weechatScripts; [ scripts = with pkgs.weechatScripts; [
wee-slack wee-slack
weechat-matrix # weechat-matrix
]; ];
}; };
# extraBuildInputs = [ python38Packages.Logbook ]; # extraBuildInputs = [ python38Packages.Logbook ];
@ -347,8 +357,8 @@
systemd.user.services.mailfetch = { systemd.user.services.mailfetch = {
enable = true; enable = true;
description = "Automatically fetches for new mail when the network is up"; description = "Automatically fetches for new mail when the network is up";
after = [ "network-online.target" ]; wantedBy = [ "graphical-session.target" ];
wantedBy = [ "network-online.target" ]; after = [ "graphical-session.target" ];
serviceConfig = { serviceConfig = {
Restart = "always"; Restart = "always";
RestartSec = "60"; RestartSec = "60";
@ -365,11 +375,6 @@
# Or disable the firewall altogether. # Or disable the firewall altogether.
# networking.firewall.enable = false; # 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 # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions

View file

@ -230,6 +230,7 @@ bindsym XF86AudioMute exec 'pactl set-sink-mute @DEFAULT_SINK@ toggle'
# automatically float windows that are intended to do so # automatically float windows that are intended to do so
for_window [title="Picture-in-Picture" app_id="firefox"] floating enable 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="Firefox — Sharing Indicator" app_id="firefox"] floating enable
for_window [title="Extension: (Tree Style Tab).*" app_id="firefox"] floating enable
# those frickin' zoom popups # those frickin' zoom popups
for_window [title="zoom"] floating enable for_window [title="zoom"] floating enable

View file

@ -79,7 +79,7 @@
"interval": 60, "interval": 60,
"exec": "notmuch count tag:unread", "exec": "notmuch count tag:unread",
"exec-if": "[ $(notmuch count tag:unread) != 0 ]", "exec-if": "[ $(notmuch count tag:unread) != 0 ]",
"on-click": "alacritty -e neomutt" "on-click": "alacritty -e neomutt -f 'notmuch://?query=tag:unread'"
} }
//"custom/spotify": { //"custom/spotify": {
// "format": " {}", // "format": " {}",