From 9ca5e516ee02940ae7c8c56254940d6ace009c20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 20 Jan 2022 15:43:27 +0100 Subject: Drop i3 configuration --- Xdefaults | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++ Xresources | 64 ---------------------------------------------------- gtk-3.0/settings.ini | 5 ---- install | 19 ++++------------ 4 files changed, 69 insertions(+), 83 deletions(-) create mode 100644 Xdefaults delete mode 100644 Xresources diff --git a/Xdefaults b/Xdefaults new file mode 100644 index 0000000..a6e76a5 --- /dev/null +++ b/Xdefaults @@ -0,0 +1,64 @@ +Xcursor.size: 8 +Xft.dpi: 96 +Xft.antialias: true +Xft.rgba: rgb +Xft.hinting: true +Xft.hintstyle: hintslight +Xft.autohint: false +Xft.lcdfilter: lcddefault +! XTerm ## +XTerm*metaSendsEscape: true +XTerm*locale: true +Xterm*saveLines: 4096 +XTerm*reverseVideo: on +Xterm*faceName: Liberation Mono:size=10:antialias=true +Xterm*borderWidth: 0 +! unicode rxvt ## +URxvt*background: black +URxvt*foreground: white +URxvt*color0: black +URxvt*color1: red3 +URxvt*color2: green3 +URxvt*color3: yellow3 +URxvt*color4: blue2 +URxvt*color5: magenta3 +URxvt*color6: cyan3 +URxvt*color7: gray90 +URxvt*color8: grey50 +URxvt*color9: red +URxvt*color10: green +URxvt*color11: yellow +URxvt*color12: rgb:5c/5c/ff +URxvt*color13: magenta +URxvt*color14: cyan +URxvt*color15: white +URxvt*saveLines: 4096 +URxvt.scrollBar: false +! do not scroll with output +URxvt*scrollTtyOutput: false +! scroll in relation to buffer (with mouse scroll or Shift+Page Up) +URxvt*scrollWithBuffer: true +! scroll back to the bottom on keypress +URxvt*scrollTtyKeypress: true +! Disable scrollback for secondary screens +URxvt*secondaryScreen: 1 +URxvt*secondaryScroll: 0 +! Font +URxvt*font: xft:DejaVu Sans Mono:size=8 +URxvt.letterSpace: -1 +URxvt*iso14755: False +! Clipboard +URxvt.keysym.Control-Meta-c: builtin-string: +URxvt.keysym.Control-Meta-v: builtin-string: +URxvt*keysym*Shift-Control-V: eval:paste_clipboard +URxvt*keysym*Shift-Control-C: eval:selection_to_clipboard + +! Perl extensions +URxvt*perl-ext-common: default,matcher,font-size +! Font size change +URxvt.keysym.C-Up: font-size:increase +URxvt.keysym.C-Down: font-size:decrease +! Yankable URLs +URxvt.keysym.M-u: matcher:select +URxvt.url-launcher: /usr/bin/xdg-open +URxvt.matcher.rend.0: foreground diff --git a/Xresources b/Xresources deleted file mode 100644 index a6e76a5..0000000 --- a/Xresources +++ /dev/null @@ -1,64 +0,0 @@ -Xcursor.size: 8 -Xft.dpi: 96 -Xft.antialias: true -Xft.rgba: rgb -Xft.hinting: true -Xft.hintstyle: hintslight -Xft.autohint: false -Xft.lcdfilter: lcddefault -! XTerm ## -XTerm*metaSendsEscape: true -XTerm*locale: true -Xterm*saveLines: 4096 -XTerm*reverseVideo: on -Xterm*faceName: Liberation Mono:size=10:antialias=true -Xterm*borderWidth: 0 -! unicode rxvt ## -URxvt*background: black -URxvt*foreground: white -URxvt*color0: black -URxvt*color1: red3 -URxvt*color2: green3 -URxvt*color3: yellow3 -URxvt*color4: blue2 -URxvt*color5: magenta3 -URxvt*color6: cyan3 -URxvt*color7: gray90 -URxvt*color8: grey50 -URxvt*color9: red -URxvt*color10: green -URxvt*color11: yellow -URxvt*color12: rgb:5c/5c/ff -URxvt*color13: magenta -URxvt*color14: cyan -URxvt*color15: white -URxvt*saveLines: 4096 -URxvt.scrollBar: false -! do not scroll with output -URxvt*scrollTtyOutput: false -! scroll in relation to buffer (with mouse scroll or Shift+Page Up) -URxvt*scrollWithBuffer: true -! scroll back to the bottom on keypress -URxvt*scrollTtyKeypress: true -! Disable scrollback for secondary screens -URxvt*secondaryScreen: 1 -URxvt*secondaryScroll: 0 -! Font -URxvt*font: xft:DejaVu Sans Mono:size=8 -URxvt.letterSpace: -1 -URxvt*iso14755: False -! Clipboard -URxvt.keysym.Control-Meta-c: builtin-string: -URxvt.keysym.Control-Meta-v: builtin-string: -URxvt*keysym*Shift-Control-V: eval:paste_clipboard -URxvt*keysym*Shift-Control-C: eval:selection_to_clipboard - -! Perl extensions -URxvt*perl-ext-common: default,matcher,font-size -! Font size change -URxvt.keysym.C-Up: font-size:increase -URxvt.keysym.C-Down: font-size:decrease -! Yankable URLs -URxvt.keysym.M-u: matcher:select -URxvt.url-launcher: /usr/bin/xdg-open -URxvt.matcher.rend.0: foreground diff --git a/gtk-3.0/settings.ini b/gtk-3.0/settings.ini index 0fd93df..29322c1 100644 --- a/gtk-3.0/settings.ini +++ b/gtk-3.0/settings.ini @@ -1,7 +1,2 @@ [Settings] -gtk-theme-name=Adwaita gtk-application-prefer-dark-theme=1 -gtk-font-name=DejaVu Sans 8 -gtk-cursor-theme-size=12 -gtk-icon-theme-name=Faenza -gtk-key-theme-name=Emacs diff --git a/install b/install index c1de175..86fe425 100755 --- a/install +++ b/install @@ -76,28 +76,19 @@ if ask "sync" "Install synchronization"; then inst_sync fi -if ask "desktop" "Install desktop generic"; then +if ask "desktop" "Install desktop"; then # Theme inst gtk-2.0/gtkrc ~/.gtkrc-2.0 inst gtk-3.0/ ~/.config/gtk-3.0/ inst config/Trolltech.conf ~/.config/Trolltech.conf # User directories inst config/user-dirs.conf ~/.config/user-dirs.dirs - # Generic i3/sway - inst config/dunst/ ~/.config/dunst - inst config/i3blocks/ ~/.config/i3blocks -fi - -if ask "xorg" "Install XOrg (i3)"; then - inst xinitrc ~/.xinitrc - inst Xresources ~/.Xresources - inst config/i3/ ~/.config/i3 -fi - -if ask "wayland" "Install Wayland (sway)"; then + # Sway inst local/bin/startsway ~/.local/bin/startsway - inst Xresources ~/.Xdefaults # X resources for wayland session inst config/sway/ ~/.config/sway + inst Xdefaults ~/.Xdefaults + inst config/dunst/ ~/.config/dunst + inst config/i3blocks/ ~/.config/i3blocks inst config/swaylock/ ~/.config/swaylock inst config/swayidle/ ~/.config/swayidle inst config/wofi/ ~/.config/wofi -- cgit v1.2.3