diff options
| author | Peter Son Struschka <me@peter-struschka.com> | 2021-02-28 17:58:30 +0800 |
|---|---|---|
| committer | Peter Son Struschka <me@peter-struschka.com> | 2021-02-28 17:58:30 +0800 |
| commit | 83d7b9c7ce20f16681afacf99ed3ab47427f1ded (patch) | |
| tree | 5f607e348dadf13e5d6061217b7a317a48527d83 /basics | |
| parent | e5209aad576fe44d3965fcb94d6709348b0a93bf (diff) | |
| download | dotfiles-83d7b9c7ce20f16681afacf99ed3ab47427f1ded.tar.gz dotfiles-83d7b9c7ce20f16681afacf99ed3ab47427f1ded.tar.bz2 dotfiles-83d7b9c7ce20f16681afacf99ed3ab47427f1ded.tar.lz dotfiles-83d7b9c7ce20f16681afacf99ed3ab47427f1ded.tar.xz dotfiles-83d7b9c7ce20f16681afacf99ed3ab47427f1ded.tar.zst dotfiles-83d7b9c7ce20f16681afacf99ed3ab47427f1ded.zip | |
all: fixes and new modules
Diffstat (limited to 'basics')
| -rw-r--r-- | basics/.config/alacritty/alacritty.yml | 12 | ||||
| -rw-r--r-- | basics/.config/dunst/dunstrc | 2 | ||||
| -rw-r--r-- | basics/.config/rofi/config.rasi | 2 | ||||
| -rwxr-xr-x | basics/.local/bin/scrnshot | 5 | ||||
| -rwxr-xr-x | basics/.local/bin/setup-widescreen | 10 |
5 files changed, 24 insertions, 7 deletions
diff --git a/basics/.config/alacritty/alacritty.yml b/basics/.config/alacritty/alacritty.yml index ee87a85..f127df7 100644 --- a/basics/.config/alacritty/alacritty.yml +++ b/basics/.config/alacritty/alacritty.yml @@ -431,12 +431,12 @@ alt_send_esc: true # - AppKeypad key_bindings: # (Windows/Linux 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: Subtract, mods: Control, action: DecreaseFontSize } + - { 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: Minus, mods: Control, action: DecreaseFontSize } # (macOS only) #- { key: Key0, mods: Command, action: ResetFontSize } diff --git a/basics/.config/dunst/dunstrc b/basics/.config/dunst/dunstrc index 80c3445..d572f7a 100644 --- a/basics/.config/dunst/dunstrc +++ b/basics/.config/dunst/dunstrc @@ -29,7 +29,7 @@ # the top and down respectively. # The width can be negative. In this case the actual width is the # screen width minus the width defined in within the geometry option. - geometry = "300x5-30+20" + geometry = "300x5-30+40" # Show how many messages are currently hidden (because of geometry). indicate_hidden = yes diff --git a/basics/.config/rofi/config.rasi b/basics/.config/rofi/config.rasi index 0fba3e1..7fb7e52 100644 --- a/basics/.config/rofi/config.rasi +++ b/basics/.config/rofi/config.rasi @@ -1,4 +1,6 @@ configuration { modi: "window,run,ssh,drun"; theme: "~/.config/rofi/themes/gruvbox/gruvbox-dark-soft.rasi"; + cache-dir: ".cache/rofi"; + drun-use-desktop-cache: true; } diff --git a/basics/.local/bin/scrnshot b/basics/.local/bin/scrnshot new file mode 100755 index 0000000..a2dda76 --- /dev/null +++ b/basics/.local/bin/scrnshot @@ -0,0 +1,5 @@ +#/bin/sh + +# TODO: configure delay, output directory and others + +scrot -s -p -e 'mv $f ~/Desktop/shots && echo "$$HOME/Desktop/shots/$f"' diff --git a/basics/.local/bin/setup-widescreen b/basics/.local/bin/setup-widescreen new file mode 100755 index 0000000..0082ff9 --- /dev/null +++ b/basics/.local/bin/setup-widescreen @@ -0,0 +1,10 @@ +#!/usr/bin/env sh + +# Modeline +# cvt 3440 1440 30 +xrandr --newmode "3440x1440_30.00" 196.25 3440 3600 3952 4464 1440 1443 1453 1468 -hsync +vsync + +xrandr --addmode HDMI1 3440x1440_30.00 + +xrandr --output HDMI1 --mode 3440x1440_30.00 --primary --left-of eDP1 + |
