From 8252e3c5d9709014f4acfb021374ef2c1a0f07af Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sun, 11 Aug 2019 00:07:29 +0200 Subject: Modified i3 design --- .i3/config | 62 +++++++++++++++--------------------------------------------- packages.txt | 4 ++++ 2 files changed, 19 insertions(+), 47 deletions(-) diff --git a/.i3/config b/.i3/config index 6a75bcb..9d23b63 100644 --- a/.i3/config +++ b/.i3/config @@ -1,31 +1,8 @@ -# This file has been auto-generated by i3-config-wizard(1). -# It will not be overwritten, so edit it as you like. -# -# Should you change your keyboard layout some time, delete -# this file and re-run i3-config-wizard(1). -# - -# i3 config file (v4) -# -# Please see https://i3wm.org/docs/userguide.html for a complete reference! - +#vim:conf set $mod Mod1 -# Font for window titles. Will also be used by the bar unless a different font -# is used in the bar {} block below. font pango:monospace 9 -# This font is widely installed, provides lots of unicode glyphs, right-to-left -# text rendering and scalability on retina/hidpi displays (thanks to pango). -#font pango:DejaVu Sans Mono 8 - -# Before i3 v4.8, we used to recommend this one as the default: -# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 -# The font above is very space-efficient, that is, it looks good, sharp and -# clear in small sizes. However, its unicode glyph coverage is limited, the old -# X core fonts rendering does not support right-to-left and this being a bitmap -# font, it doesn’t scale on retina/hidpi displays. - # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod @@ -41,7 +18,10 @@ bindsym $mod+b exec "brave" # kill focused window bindsym $mod+Shift+q kill -bindsym $mod+Shift+w exec "i3lock -i ~/vimconfig/lock.png" +bindsym $mod+Shift+w exec "i3lock -p win -i ~/vimconfig/lock.png" + +#Screenshot on mod+p +bindsym $mod+p exec "scrot ~/Screenshots/Screenshot%Y-%m-%d%H:%M:%S.png" # start dmenu (a program launcher) bindsym $mod+d exec dmenu_run @@ -306,7 +286,7 @@ set $yw #f1fa7c set $gn #50fa7b set $rd #ff5555 set $id #ff79c6 -set $opaque #000000ff +set $opaque #00000000 set $black #000000 set $grey #151515 @@ -321,19 +301,18 @@ client.background $black default_border none gaps inner 15 -## Program starting -exec --no-startup-id nm-applet - -# Start i3bar to display a workspace bar (plus the system information i3status -# finds out, if available) bar { i3bar_command i3bar -t status_command python /usr/share/powerline/bindings/i3/powerline-i3.py font pango:DejaVu Sans Mono for Powerline 12 colors { - background #000000AA + background #00000000 + focused_workspace #00000000 #00000000 #FFFFFF + active_workspace #00000000 #00000000 #FFFFFF + inactive_workspace #00000000 #00000000 #555555 + urgent_workspace #00000000 #FF000033 #555555 } } @@ -343,19 +322,14 @@ bar { bindsym XF86AudioRaiseVolume exec --no-startup-id pactl -- set-sink-volume 0 +5% #increase sound volume bindsym XF86AudioLowerVolume exec --no-startup-id pactl -- set-sink-volume 0 -5% #decrease sound volume bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound +#Microphone mute +bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute 1 toggle -# play-pause +#Mediacontrol bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause - -# stop bindsym XF86AudioStop exec --no-startup-id playerctl stop - -# prev bindsym XF86AudioPrev exec --no-startup-id playerctl previous - -# next bindsym XF86AudioNext exec --no-startup-id playerctl next -# # Sreen brightness controls # Use acpilight with arch!! @@ -363,17 +337,11 @@ bindsym XF86AudioNext exec --no-startup-id playerctl next bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 5 -fps 30 # increase screen brightness bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 5 -fps 30 # decrease screen brightness -#Screenshot on win+p -bindsym $mod+p exec "scrot ~/Downloads/Screenshot%Y-%m-%d%H:%M:%S.png" +#bindsym XF86RFKill exec --no-startup-id i3-nagbar -t warning -m asdf -#Layout de exec --no-startup-id "setxkbmap -layout de" - exec --no-startup-id "compton" - exec --no-startup-id "xrdb ~/.Xresources" #start autostart.sh exec --no-startup-id ~/autostart.sh - -#exec --no-startup-id feh --bg-fill ~/.i3/wp.jpg diff --git a/packages.txt b/packages.txt index aefd385..d4370c1 100644 --- a/packages.txt +++ b/packages.txt @@ -1,6 +1,7 @@ base-devel htop i3gaps +i3lock neovim xorg-xinit xorg-server @@ -8,3 +9,6 @@ compton xterm powerline xf86-input-libinput +mupdf +ranger +pamixer -- cgit v1.2.3 From 408720c3e70cc1abe07268b676ff5e0970311943 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sun, 11 Aug 2019 01:50:16 +0200 Subject: asdfasdf --- .Xresources | 7 +++++++ .compton.conf | 2 +- .i3/config | 6 ++++-- .i3/wp.jpg | Bin 7886754 -> 0 bytes lock.png | Bin 1222817 -> 0 bytes packages.txt | 2 +- pictures/b_2.jpg | Bin 0 -> 4102930 bytes pictures/b_3.jpg | Bin 0 -> 9568577 bytes pictures/b_wp.jpg | Bin 0 -> 7886754 bytes pictures/lock.png | Bin 0 -> 61824 bytes pictures/lock_.png | Bin 0 -> 1222817 bytes 11 files changed, 13 insertions(+), 4 deletions(-) delete mode 100644 .i3/wp.jpg delete mode 100644 lock.png create mode 100644 pictures/b_2.jpg create mode 100644 pictures/b_3.jpg create mode 100644 pictures/b_wp.jpg create mode 100644 pictures/lock.png create mode 100644 pictures/lock_.png diff --git a/.Xresources b/.Xresources index a6b9193..65c9acd 100644 --- a/.Xresources +++ b/.Xresources @@ -5,3 +5,10 @@ XTerm*faceName: DejaVu\ Sans\ Mono\ for\ Powerline XTerm*faceSize: 10.0 XTerm*selectToClipboard: true XTerm.vt100.locale: true + +! State: 'bg', 'fg', 'bgalt', 'hlbg', 'hlfg' +rofi.color-normal: #000000AA, #FFFFFFFF, #000000AA, #333333AA, #FFFFFF +rofi.color-urgent: #000000AA, #FFFFFFFF, #000000AA, #333333AA, #FFFFFF +rofi.color-active: #000000AA, #FFFFFFFF, #000000AA, #333333AA, #FFFFFF +! 'background', 'border', 'separator' +rofi.color-window: #000000AA, #00000000, #aaaaaa diff --git a/.compton.conf b/.compton.conf index 4302c79..2b731b3 100644 --- a/.compton.conf +++ b/.compton.conf @@ -55,7 +55,7 @@ glx-copy-from-front = false; ################################# # Enabled client-side shadows on windows. -shadow = true; +shadow = false; # The blur radius for shadows. (default 12) shadow-radius = 5; # The left offset for shadows. (default -15) diff --git a/.i3/config b/.i3/config index 9d23b63..f873867 100644 --- a/.i3/config +++ b/.i3/config @@ -24,7 +24,7 @@ bindsym $mod+Shift+w exec "i3lock -p win -i ~/vimconfig/lock.png" bindsym $mod+p exec "scrot ~/Screenshots/Screenshot%Y-%m-%d%H:%M:%S.png" # start dmenu (a program launcher) -bindsym $mod+d exec dmenu_run +bindsym $mod+d exec rofi -show run # There also is the (new) i3-dmenu-desktop which only displays applications # shipping a .desktop file. It is a wrapper around dmenu, so you need that # installed. @@ -122,7 +122,8 @@ bindsym $mod+Shift+c reload # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) bindsym $mod+Shift+r restart # exit i3 (logs you out of your X session) -bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" +#bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" +bindsym $mod+Shift+e exec $(printf "shutdown now\nreboot\ni3-msg exit" | rofi -dmenu -mesg "Exit?") # resize window (you can also use the mouse for that) mode "resize" { @@ -305,6 +306,7 @@ gaps inner 15 bar { i3bar_command i3bar -t status_command python /usr/share/powerline/bindings/i3/powerline-i3.py + #status_command i3status font pango:DejaVu Sans Mono for Powerline 12 colors { diff --git a/.i3/wp.jpg b/.i3/wp.jpg deleted file mode 100644 index e6aabe5..0000000 Binary files a/.i3/wp.jpg and /dev/null differ diff --git a/lock.png b/lock.png deleted file mode 100644 index 712528b..0000000 Binary files a/lock.png and /dev/null differ diff --git a/packages.txt b/packages.txt index d4370c1..e20d592 100644 --- a/packages.txt +++ b/packages.txt @@ -11,4 +11,4 @@ powerline xf86-input-libinput mupdf ranger -pamixer +rofi diff --git a/pictures/b_2.jpg b/pictures/b_2.jpg new file mode 100644 index 0000000..08c26d4 Binary files /dev/null and b/pictures/b_2.jpg differ diff --git a/pictures/b_3.jpg b/pictures/b_3.jpg new file mode 100644 index 0000000..a037558 Binary files /dev/null and b/pictures/b_3.jpg differ diff --git a/pictures/b_wp.jpg b/pictures/b_wp.jpg new file mode 100644 index 0000000..e6aabe5 Binary files /dev/null and b/pictures/b_wp.jpg differ diff --git a/pictures/lock.png b/pictures/lock.png new file mode 100644 index 0000000..f9791c4 Binary files /dev/null and b/pictures/lock.png differ diff --git a/pictures/lock_.png b/pictures/lock_.png new file mode 100644 index 0000000..712528b Binary files /dev/null and b/pictures/lock_.png differ -- cgit v1.2.3